/linux-master/include/linux/ |
H A D | rtnetlink.h | 13 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo); 15 static inline int rtnetlink_maybe_send(struct sk_buff *skb, struct net *net, argument 18 return !skb ? 0 : rtnetlink_send(skb, net, pid, group, echo); 21 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid); 22 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, 24 extern void rtnl_set_sk_err(struct net *ne 156 rtnl_has_listeners(const struct net *net, u32 group) argument 173 rtnl_notify_needed(const struct net *net, u16 nlflags, u32 group) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nf_log.c | 9 #include <net/protocol.h> 10 #include <net/netfilter/nf_log.h> 45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) argument 49 if (pf == NFPROTO_UNSPEC || pf >= ARRAY_SIZE(net->nf.nf_loggers)) 53 log = nft_log_dereference(net->nf.nf_loggers[pf]); 55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); 63 void nf_log_unset(struct net *net, const struct nf_logger *logger) argument 70 log = nft_log_dereference(net 128 nf_log_bind_pf(struct net *net, u_int8_t pf, const struct nf_logger *logger) argument 144 nf_log_unbind_pf(struct net *net, u_int8_t pf) argument 211 nf_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *fmt, ...) argument 240 nf_log_trace(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *fmt, ...) argument 324 struct net *net = seq_file_net(seq); local 336 struct net *net = seq_file_net(s); local 356 struct net *net = seq_file_net(s); local 418 struct net *net = table->extra2; local 461 netfilter_log_sysctl_init(struct net *net) argument 514 netfilter_log_sysctl_exit(struct net *net) argument 526 netfilter_log_sysctl_init(struct net *net) argument 531 netfilter_log_sysctl_exit(struct net *net) argument 536 nf_log_net_init(struct net *net) argument 558 nf_log_net_exit(struct net *net) argument [all...] |
H A D | core.c | 11 #include <net/protocol.h> 25 #include <net/net_namespace.h> 26 #include <net/netfilter/nf_queue.h> 27 #include <net/sock.h> 279 nf_hook_entry_head(struct net *net, int pf, unsigned int hooknum, argument 287 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_arp) <= hooknum)) 289 return net->nf.hooks_arp + hooknum; 293 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_bridge) <= hooknum)) 295 return net 336 nf_ingress_check(struct net *net, const struct nf_hook_ops *reg, int hooknum) argument 396 __nf_register_net_hook(struct net *net, int pf, const struct nf_hook_ops *reg) argument 488 __nf_unregister_net_hook(struct net *net, int pf, const struct nf_hook_ops *reg) argument 529 nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) argument 557 nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) argument 587 nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, unsigned int n) argument 607 nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, unsigned int hookcount) argument 776 netfilter_net_init(struct net *net) argument 800 netfilter_net_exit(struct net *net) argument [all...] |
/linux-master/net/ipv6/ |
H A D | netfilter.c | 13 #include <net/addrconf.h> 14 #include <net/dst.h> 15 #include <net/ipv6.h> 16 #include <net/ip6_route.h> 17 #include <net/xfrm.h> 18 #include <net/netfilter/nf_queue.h> 19 #include <net/netfilter/nf_conntrack_bridge.h> 20 #include <net/netfilter/ipv6/nf_defrag_ipv6.h> 23 int ip6_route_me_harder(struct net *net, struc argument 100 __nf_ip6_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) argument 123 br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, struct nf_bridge_frag_data *data, int (*output)(struct net *, struct sock *sk, const struct nf_bridge_frag_data *data, struct sk_buff *)) argument [all...] |
/linux-master/net/tipc/ |
H A D | name_distr.c | 2 * net/tipc/name_distr.c: TIPC name distribution code 60 * @net: the associated network namespace 67 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, argument 71 u32 self = tipc_own_addr(net); 85 * @net: the associated network namespace 88 struct sk_buff *tipc_named_publish(struct net *net, struct publication *p) argument 90 struct name_table *nt = tipc_name_table(net); 101 skb = named_prepare_buf(net, PUBLICATIO 118 tipc_named_withdraw(struct net *net, struct publication *p) argument 150 named_distribute(struct net *net, struct sk_buff_head *list, u32 dnode, struct list_head *pls, u16 seqno) argument 206 tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) argument 235 tipc_publ_purge(struct net *net, struct publication *p, u32 addr) argument 252 tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr, u16 capabilities) argument 279 tipc_update_nametbl(struct net *net, struct distr_item *i, u32 node, u32 dtype) argument 364 tipc_named_rcv(struct net *net, struct sk_buff_head *namedq, u16 *rcv_nxt, bool *open) argument 396 tipc_named_reinit(struct net *net) argument [all...] |
/linux-master/net/sctp/ |
H A D | input.c | 35 #include <net/ip.h> 36 #include <net/icmp.h> 37 #include <net/snmp.h> 38 #include <net/sock.h> 39 #include <net/xfrm.h> 40 #include <net/sctp/sctp.h> 41 #include <net/sctp/sm.h> 42 #include <net/sctp/checksum.h> 43 #include <net/net_namespace.h> 45 #include <net/sock_reusepor 71 sctp_rcv_checksum(struct net *net, struct sk_buff *skb) argument 100 struct net *net = dev_net(skb->dev); local 444 struct net *net = sock_net(sk); local 460 sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, struct sctphdr *sctphdr, struct sctp_association **app, struct sctp_transport **tpp) argument 612 struct net *net = dev_net(skb->dev); local 640 struct net *net = dev_net(skb->dev); local 736 struct net *net = sock_net(sk); local 822 sctp_hashfn(const struct net *net, __be16 lport, const union sctp_addr *paddr, __u32 seed) argument 837 __sctp_rcv_lookup_endpoint( struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) argument 878 const struct net *net; member in struct:sctp_hash_cmp_arg 981 sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) argument 992 sctp_addrs_lookup_transport( struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) argument 1049 __sctp_lookup_association( struct net *net, const union sctp_addr *local, const union sctp_addr *peer, struct sctp_transport **pt, int dif, int sdif) argument 1072 sctp_lookup_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, struct sctp_transport **transportp, int dif, int sdif) argument 1088 sctp_has_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) argument 1121 __sctp_rcv_init_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) argument 1185 __sctp_rcv_asconf_lookup( struct net *net, struct sctp_chunkhdr *ch, const union sctp_addr *laddr, __be16 peer_port, struct sctp_transport **transportp, int dif, int sdif) argument 1224 __sctp_rcv_walk_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) argument 1293 __sctp_rcv_lookup_harder(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) argument 1327 __sctp_rcv_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *paddr, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) argument [all...] |
/linux-master/net/ipv4/ |
H A D | fib_frontend.c | 35 #include <net/inet_dscp.h> 36 #include <net/ip.h> 37 #include <net/protocol.h> 38 #include <net/route.h> 39 #include <net/tcp.h> 40 #include <net/sock.h> 41 #include <net/arp.h> 42 #include <net/ip_fib.h> 43 #include <net/nexthop.h> 44 #include <net/rtnetlin 52 fib4_rules_init(struct net *net) argument 76 fib_new_table(struct net *net, u32 id) argument 112 fib_get_table(struct net *net, u32 id) argument 132 fib_replace_table(struct net *net, struct fib_table *old, struct fib_table *new) argument 152 fib_unmerge(struct net *net) argument 184 fib_flush(struct net *net) argument 206 __inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr, u32 tb_id) argument 237 inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) argument 243 inet_addr_type(struct net *net, __be32 addr) argument 249 inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr) argument 261 inet_addr_type_dev_table(struct net *net, const struct net_device *dev, __be32 addr) argument 277 struct net *net; local 348 struct net *net = dev_net(dev); local 426 struct net *net = dev_net(dev); local 471 rtentry_to_fib_config(struct net *net, int cmd, struct rtentry *rt, struct fib_config *cfg) argument 619 ip_rt_ioctl(struct net *net, unsigned int cmd, struct rtentry *rt) argument 727 rtm_to_fib_config(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, struct fib_config *cfg, struct netlink_ext_ack *extack) argument 858 struct net *net = sock_net(skb->sk); local 888 struct net *net = sock_net(skb->sk); local 910 ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, struct fib_dump_filter *filter, struct netlink_callback *cb) argument 996 struct net *net = sock_net(skb->sk); local 1072 struct net *net = dev_net(ifa->ifa_dev->dev); local 1339 nl_fib_lookup(struct net *net, struct fib_result_nl *frn) argument 1376 struct net *net; local 1402 nl_fib_lookup_init(struct net *net) argument 1416 nl_fib_lookup_exit(struct net *net) argument 1436 struct net *net = dev_net(dev); local 1469 struct net *net = dev_net(dev); local 1530 ip_fib_net_init(struct net *net) argument 1566 ip_fib_net_exit(struct net *net) argument 1600 fib_net_init(struct net *net) argument 1628 fib_net_exit(struct net *net) argument 1636 struct net *net; local [all...] |
H A D | xfrm4_state.c | 11 #include <net/xfrm.h>
|
/linux-master/net/handshake/ |
H A D | netlink.c | 17 #include <net/sock.h> 18 #include <net/genetlink.h> 19 #include <net/netns/generic.h> 31 * @net: target network namespace 37 int handshake_genl_notify(struct net *net, const struct handshake_proto *proto, argument 47 if (!genl_has_listeners(&handshake_nl_family, net, 67 return genlmsg_multicast_netns(&handshake_nl_family, net, msg, 92 struct net *net local 139 struct net *net = sock_net(skb->sk); local 173 handshake_net_init(struct net *net) argument 195 handshake_net_exit(struct net *net) argument 238 handshake_pernet(struct net *net) argument [all...] |
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_ipip_mtu.sh | 89 ip -net "$r_a" link set "$dev" up 92 ip -net "$r_a" addr add 10.2.2.1/24 dev veth0 93 ip -net "$r_a" addr add 192.168.10.1/24 dev veth1 95 ip -net "$r_a" route add 192.168.20.0/24 dev ipip0 96 ip -net "$r_a" route add 10.4.4.0/24 via 10.2.2.254 98 ip netns exec "$r_a" sysctl -q net.ipv4.conf.all.forwarding=1 > /dev/null 120 ip -net "$r_b" link set $dev up 123 ip -net "$r_b" addr add 10.4.4.1/24 dev veth0 124 ip -net "$r_b" addr add 192.168.20.1/24 dev veth1 126 ip -net " [all...] |
/linux-master/include/net/tc_act/ |
H A D | tc_defact.h | 5 #include <net/act_api.h>
|
/linux-master/include/net/ |
H A D | lag.h | 7 #include <net/bonding.h>
|
H A D | psample.h | 10 struct net *net; member in struct:psample_group 30 struct psample_group *psample_group_get(struct net *net, u32 group_num);
|
H A D | bareudp.h | 8 #include <net/rtnetlink.h>
|
/linux-master/net/can/ |
H A D | af_can.h | 99 void can_init_proc(struct net *net); 100 void can_remove_proc(struct net *net);
|
/linux-master/include/rdma/ |
H A D | lag.h | 9 #include <net/lag.h>
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_gether.h | 20 struct net_device *net; member in struct:f_gether_opts
|
H A D | u_eem.h | 20 struct net_device *net; member in struct:f_eem_opts
|
H A D | u_ecm.h | 20 struct net_device *net; member in struct:f_ecm_opts
|
/linux-master/include/linux/can/ |
H A D | core.h | 50 int can_rx_register(struct net *net, struct net_device *dev, 55 extern void can_rx_unregister(struct net *net, struct net_device *dev,
|
/linux-master/drivers/crypto/chelsio/ |
H A D | Makefile | 2 ccflags-y := -I $(srctree)/drivers/net/ethernet/chelsio/cxgb4
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | Makefile | 2 ccflags-y := -I $(srctree)/drivers/net/ethernet/chelsio/cxgb4
|
/linux-master/net/xdp/ |
H A D | xdp_umem.h | 9 #include <net/xdp_sock_drv.h>
|
/linux-master/drivers/nfc/microread/ |
H A D | microread.h | 9 #include <net/nfc/hci.h>
|
/linux-master/net/core/ |
H A D | sock_destructor.h | 4 #include <net/tcp.h>
|