crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
v3.1
ROOT
/
criu
/
net.c
Search
History
2024 lines
|
ISO-8859-1
|
46 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
IFLA_LINK_NETNSID
RTM_NEWNSID
IFLA_MACVLAN_FLAGS
CONF_OPT_PATH
MAX_CONF_OPT_PATH
MAX_STR_CONF_LEN
DEVCONFS_UNUSED
VETH_INFO_MAX
IFLA_NET_NS_FD
ns_sysfs_fd
:
int
read_ns_sys_file
(
char*,char*,int
)
{...}
:
int
sysctl_entries_equal
(
SysctlEntry*,SysctlEntry*
)
{...}
:
bool
devconfs4
:
char*[]
devconfs6
:
char*[]
net_conf_op
(
char*,SysctlEntry**,int,int,char*,struct sysctl_req*,char[MAX_CONF_OPT_PATH],int,char**,SysctlEntry**
)
{...}
:
int
ipv4_conf_op
(
char*,SysctlEntry**,int,int,SysctlEntry**
)
{...}
:
int
ipv6_conf_op
(
char*,SysctlEntry**,int,int,SysctlEntry**
)
{...}
:
int
ipv4_conf_op_old
(
char*,int*,int,int,int*
)
{...}
:
int
write_netdev_img
(
NetDeviceEntry*,struct cr_imgset*,struct nlattr**
)
{...}
:
int
dump_one_netdev
(
int,struct ifinfomsg*,struct nlattr**,struct cr_imgset*,int
)
{...}
:
int
link_kind
(
struct ifinfomsg*,struct nlattr**
)
{...}
:
char*
dump_unknown_device
(
struct ifinfomsg*,char*,struct nlattr**,struct cr_imgset*
)
{...}
:
int
dump_bridge
(
NetDeviceEntry*,struct cr_imgset*,struct nlattr**
)
{...}
:
int
dump_macvlan
(
NetDeviceEntry*,struct cr_imgset*,struct nlattr**
)
{...}
:
int
dump_one_ethernet
(
struct ifinfomsg*,char*,struct nlattr**,struct cr_imgset*
)
{...}
:
int
dump_one_gendev
(
struct ifinfomsg*,char*,struct nlattr**,struct cr_imgset*
)
{...}
:
int
dump_one_voiddev
(
struct ifinfomsg*,char*,struct nlattr**,struct cr_imgset*
)
{...}
:
int
dump_one_gre
(
struct ifinfomsg*,char*,struct nlattr**,struct cr_imgset*
)
{...}
:
int
dump_one_link
(
struct nlmsghdr*,void*
)
{...}
:
int
dump_one_nf
(
struct nlmsghdr*,void*
)
{...}
:
int
ct_restore_callback
(
struct nlmsghdr*
)
{...}
:
int
restore_nf_ct
(
int,int
)
{...}
:
int
dump_nf_ct
(
struct cr_imgset*,int
)
{...}
:
int
dump_links
(
struct cr_imgset*
)
{...}
:
int
restore_link_cb
(
struct nlmsghdr*,void*
)
{...}
:
int
newlink_req
h
:
struct nlmsghdr
i
:
struct ifinfomsg
buf
:
char[1024]
newlink_extras
link
:
int
target_netns
:
int
populate_newlink_req
(
struct newlink_req*,int,NetDeviceEntry*,int,struct newlink_extras*
)
{...}
:
int
do_rtm_link_req
(
int,NetDeviceEntry*,int,int,struct newlink_extras*
)
{...}
:
int
restore_link_parms
(
NetDeviceEntry*,int
)
{...}
:
int
restore_one_link
(
NetDeviceEntry*,int,int,struct newlink_extras*
)
{...}
:
int
(anonymous)
VETH_INFO_UNSPEC
VETH_INFO_PEER
__VETH_INFO_MAX
veth_peer_info
(
NetDeviceEntry*,struct newlink_req*
)
{...}
:
void
veth_link_info
(
NetDeviceEntry*,struct newlink_req*
)
{...}
:
int
venet_link_info
(
NetDeviceEntry*,struct newlink_req*
)
{...}
:
int
bridge_link_info
(
NetDeviceEntry*,struct newlink_req*
)
{...}
:
int
changeflags
(
int,char*,short
)
{...}
:
int
macvlan_link_info
(
NetDeviceEntry*,struct newlink_req*
)
{...}
:
int
userns_restore_one_link
(
void*,int,pid_t
)
{...}
:
int
restore_one_macvlan
(
NetDeviceEntry*,int,int
)
{...}
:
int
restore_link
(
NetDeviceEntry*,int,int
)
{...}
:
int
restore_links
(
int,NetnsEntry**
)
{...}
:
int
run_ip_tool
(
char*,char*,char*,char*,int,int,unsigned
)
{...}
:
int
run_iptables_tool
(
char*,int,int
)
{...}
:
int
dump_ifaddr
(
struct cr_imgset*
)
{...}
:
int
dump_route
(
struct cr_imgset*
)
{...}
:
int
dump_rule
(
struct cr_imgset*
)
{...}
:
int
dump_iptables
(
struct cr_imgset*
)
{...}
:
int
dump_netns_conf
(
struct cr_imgset*
)
{...}
:
int
restore_ip_dump
(
int,int,char*
)
{...}
:
int
restore_ifaddr
(
int
)
{...}
:
int
restore_route
(
int
)
{...}
:
int
restore_rule
(
int
)
{...}
:
int
restore_iptables
(
int
)
{...}
:
int
restore_netns_conf
(
int,NetnsEntry**
)
{...}
:
int
mount_ns_sysfs
(
void
)
{...}
:
int
dump_net_ns
(
int
)
{...}
:
int
prepare_net_ns
(
int
)
{...}
:
int
netns_keep_nsfd
(
void
)
{...}
:
int
iptables_restore
(
bool,char*,int
)
{...}
:
int
network_lock_internal
(
)
{...}
:
int
network_unlock_internal
(
)
{...}
:
int
network_lock
(
void
)
{...}
:
int
network_unlock
(
void
)
{...}
:
void
veth_pair_add
(
char*,char*
)
{...}
:
int
macvlan_ext_add
(
struct external*
)
{...}
:
int
prep_ns_sockets
(
struct ns_id*,bool
)
{...}
:
int
collect_net_ns
(
struct ns_id*,void*
)
{...}
:
int
collect_net_namespaces
(
bool
)
{...}
:
int
net_ns_desc
:
struct ns_desc
move_to_bridge
(
struct external*,void*
)
{...}
:
int
move_veth_to_bridge
(
void
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover