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
ccc790d5
ROOT
/
criu
/
net.c
Search
History
3825 lines
|
ISO-8859-1
|
89 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LOG_PREFIX
IFLA_NEW_IFINDEX
IFLA_LINK_NETNSID
IFLA_MAX
RTM_NEWNSID
IFLA_MACVLAN_FLAGS
IFLA_IPTUN_MAX
CONF_OPT_PATH
MAX_CONF_OPT_PATH
MAX_STR_CONF_LEN
CONF_UNIX_BASE
CONF_UNIX_FMT
MAX_CONF_UNIX_OPT_PATH
MAX_CONF_UNIX_PATH
DEVCONFS_UNUSED
ENCODE_ENTRY
(
__type,__ifla,__proto
)
VETH_INFO_MAX
IFLA_NET_NS_FD
DECODE_ENTRY
(
__type,__ifla,__proto
)
DUMP_NFTABLES_CMD
NLA_S32
NETNSA_NSID_NOT_ASSIGNED
NETNSA_MAX
(anonymous)
IFLA_IPTUN_UNSPEC
IFLA_IPTUN_LINK
IFLA_IPTUN_LOCAL
IFLA_IPTUN_REMOTE
IFLA_IPTUN_TTL
IFLA_IPTUN_TOS
IFLA_IPTUN_ENCAP_LIMIT
IFLA_IPTUN_FLOWINFO
IFLA_IPTUN_FLAGS
IFLA_IPTUN_PROTO
IFLA_IPTUN_PMTUDISC
IFLA_IPTUN_6RD_PREFIX
IFLA_IPTUN_6RD_RELAY_PREFIX
IFLA_IPTUN_6RD_PREFIXLEN
IFLA_IPTUN_6RD_RELAY_PREFIXLEN
IFLA_IPTUN_ENCAP_TYPE
IFLA_IPTUN_ENCAP_FLAGS
IFLA_IPTUN_ENCAP_SPORT
IFLA_IPTUN_ENCAP_DPORT
__IFLA_IPTUN_MAX
ns_sysfs_fd
:
int
read_ns_sys_file
(
char*,char*,int
)
{...}
:
int
sysctl_entries_equal
(
SysctlEntry*,SysctlEntry*
)
{...}
:
bool
devconfs4
:
char*[]
devconfs6
:
char*[]
unix_conf_entries
:
const 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
unix_conf_op
(
SysctlEntry***,size_t*,int
)
{...}
:
int
ipv4_conf_op_old
(
char*,int*,int,int,int*
)
{...}
:
int
write_netdev_img
(
NetDeviceEntry*,struct cr_imgset*,struct nlattr**
)
{...}
:
int
lookup_net_by_netid
(
struct ns_id*,int
)
{...}
:
int
dump_one_netdev
(
int,struct ifinfomsg*,struct nlattr**,struct ns_id*,struct cr_imgset*,int
)
{...}
:
int
link_kind
(
struct ifinfomsg*,struct nlattr**
)
{...}
:
char*
dump_unknown_device
(
struct ifinfomsg*,char*,struct nlattr**,struct ns_id*,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 ns_id*,struct cr_imgset*
)
{...}
:
int
dump_one_gendev
(
struct ifinfomsg*,char*,struct nlattr**,struct ns_id*,struct cr_imgset*
)
{...}
:
int
dump_one_voiddev
(
struct ifinfomsg*,char*,struct nlattr**,struct ns_id*,struct cr_imgset*
)
{...}
:
int
dump_one_gre
(
struct ifinfomsg*,char*,struct nlattr**,struct ns_id*,struct cr_imgset*
)
{...}
:
int
dump_sit
(
NetDeviceEntry*,struct cr_imgset*,struct nlattr**
)
{...}
:
int
dump_one_sit
(
struct ifinfomsg*,char*,struct nlattr**,struct ns_id*,struct cr_imgset*
)
{...}
:
int
list_one_link
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
dump_one_link
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
dump_one_nf
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
ct_restore_callback
(
struct nlmsghdr*
)
{...}
:
int
restore_nf_ct
(
int,int
)
{...}
:
int
dump_nf_ct
(
struct cr_imgset*,int
)
{...}
:
int
list_links
(
int,void*
)
{...}
:
int
dump_links
(
int,struct ns_id*,struct cr_imgset*
)
{...}
:
int
restore_link_cb
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
restore_newlink_cb
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
newlink_req
h
:
struct nlmsghdr
i
:
struct ifinfomsg
buf
:
char[1024]
newlink_extras
link
:
int
target_netns
:
int
link_info_t
:
int(*)(struct ns_id*,struct net_link*,struct newlink_req*)
populate_newlink_req
(
struct ns_id*,struct newlink_req*,int,struct net_link*,link_info_t,struct newlink_extras*
)
{...}
:
int
kerndat_newifindex_err_cb
(
int,struct ns_id*,void*
)
{...}
:
int
kerndat_has_newifindex
(
void
)
{...}
:
int
do_rtm_link_req
(
int,struct net_link*,int,struct ns_id*,link_info_t,struct newlink_extras*
)
{...}
:
int
restore_link_parms
(
struct net_link*,int
)
{...}
:
int
restore_one_link
(
struct ns_id*,struct net_link*,int,link_info_t,struct newlink_extras*
)
{...}
:
int
move_req
req
:
struct newlink_req
ifnam
:
char[IFNAMSIZ]
move_veth_cb
(
void*,int,pid_t
)
{...}
:
int
move_veth
(
const char*,struct ns_id*,struct net_link*,int
)
{...}
:
int
(anonymous)
VETH_INFO_UNSPEC
VETH_INFO_PEER
__VETH_INFO_MAX
veth_peer_info
(
struct net_link*,struct newlink_req*,struct ns_id*,int
)
{...}
:
int
veth_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
venet_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
bridge_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
changeflags
(
int,char*,short
)
{...}
:
int
macvlan_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
userns_restore_one_link
(
void*,int,pid_t
)
{...}
:
int
restore_one_macvlan
(
struct ns_id*,struct net_link*,int
)
{...}
:
int
sit_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
__restore_link
(
struct ns_id*,struct net_link*,int
)
{...}
:
int
read_links
(
struct ns_id*
)
{...}
:
int
restore_link
(
int,struct ns_id*,struct net_link*
)
{...}
:
int
restore_master_link
(
int,struct ns_id*,struct net_link*
)
{...}
:
int
lookup_net_link
(
struct ns_id*,uint32_t
)
{...}
:
struct net_link*
__restore_links
(
struct ns_id*,int*,int*
)
{...}
:
int
restore_links
(
void
)
{...}
:
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 ns_id*,struct cr_imgset*
)
{...}
:
int
restore_ip_dump
(
int,int,char*
)
{...}
:
int
restore_ifaddr
(
int
)
{...}
:
int
restore_route
(
int
)
{...}
:
int
restore_rule
(
int
)
{...}
:
int
prepare_xtable_lock
(
void
)
{...}
:
int
restore_iptables
(
int
)
{...}
:
int
restore_nftables
(
int
)
{...}
:
int
read_net_ns_img
(
void
)
{...}
:
int
restore_netns_conf
(
struct ns_id*
)
{...}
:
int
mount_ns_sysfs
(
void
)
{...}
:
int
net_id_arg
ns
:
struct ns_id*
sk
:
int
collect_netns_id
(
struct ns_id*,void*
)
{...}
:
int
dump_netns_ids
(
int,struct ns_id*
)
{...}
:
int
net_set_ext
(
struct ns_id*
)
{...}
:
int
dump_net_ns
(
struct ns_id*
)
{...}
:
int
net_set_nsid
(
int,int,int
)
:
int
restore_netns_ids
(
struct ns_id*
)
{...}
:
int
prepare_net_ns_first_stage
(
struct ns_id*
)
{...}
:
int
prepare_net_ns_second_stage
(
struct ns_id*
)
{...}
:
int
open_net_ns
(
struct ns_id*
)
{...}
:
int
do_create_net_ns
(
struct ns_id*
)
{...}
:
int
__prepare_net_namespaces
(
void*
)
{...}
:
int
prepare_net_namespaces
(
void
)
{...}
:
int
do_restore_task_net_ns
(
struct ns_id*,struct pstree_item*
)
{...}
:
int
restore_task_net_ns
(
struct pstree_item*
)
{...}
:
int
netns_keep_nsfd
(
void
)
{...}
:
int
iptables_restore
(
bool,char*,int
)
{...}
:
int
nftables_lock_network_internal
(
void
)
{...}
:
int
iptables_network_lock_internal
(
void
)
{...}
:
int
network_lock_internal
(
void
)
{...}
:
int
nftables_network_unlock
(
void
)
{...}
:
int
iptables_network_unlock_internal
(
void
)
{...}
:
int
network_unlock_internal
(
void
)
{...}
:
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
netns_nr
:
int
collect_net_ns
(
struct ns_id*,void*
)
{...}
:
int
collect_net_namespaces
(
bool
)
{...}
:
int
net_ns_desc
:
struct ns_desc
net_get_root_ns
(
void
)
{...}
:
struct ns_id*
get_socket_ns
(
int
)
{...}
:
struct ns_id*
check_has_netns_ioc
(
int,bool*,const char*
)
{...}
:
void
kerndat_socket_netns
(
void
)
{...}
:
int
move_to_bridge
(
struct external*,void*
)
{...}
:
int
move_veth_to_bridge
(
void
)
{...}
:
int
(anonymous)
NETNSA_NONE
NETNSA_NSID
NETNSA_PID
NETNSA_FD
__NETNSA_MAX
nsid_cb
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
net_set_nsid
(
int,int,int
)
{...}
:
int
net_get_nsid
(
int,int,int*
)
{...}
:
int
nsid_link_info
(
struct ns_id*,struct net_link*,struct newlink_req*
)
{...}
:
int
check_one_link_nsid
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
check_link_nsid
(
int,void*
)
{...}
:
int
kerndat_link_nsid
(
void
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover