/net/l2tp/ |
H A D | l2tp_ip.c | 21 #include <net/sock.h> 22 #include <net/ip.h> 23 #include <net/icmp.h> 24 #include <net/udp.h> 25 #include <net/inet_common.h> 26 #include <net/inet_hashtables.h> 27 #include <net/tcp_states.h> 28 #include <net/protocol.h> 29 #include <net/xfrm.h> 50 static struct sock *__l2tp_ip_bind_lookup(struct net *ne argument 73 l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_id) argument 117 struct net *net = dev_net(skb->dev); local 248 struct net *net = sock_net(sk); local [all...] |
H A D | l2tp_ip6.c | 22 #include <net/sock.h> 23 #include <net/ip.h> 24 #include <net/icmp.h> 25 #include <net/udp.h> 26 #include <net/inet_common.h> 27 #include <net/inet_hashtables.h> 28 #include <net/tcp_states.h> 29 #include <net/protocol.h> 30 #include <net/xfrm.h> 32 #include <net/transp_v 59 __l2tp_ip6_bind_lookup(struct net *net, struct in6_addr *laddr, int dif, u32 tunnel_id) argument 84 l2tp_ip6_bind_lookup(struct net *net, struct in6_addr *laddr, int dif, u32 tunnel_id) argument [all...] |
/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ipmac.c | 22 #include <net/netlink.h> 316 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], argument
|
H A D | ip_set_list_set.c | 43 struct net *net; /* namespace */ member in struct:list_set 180 ip_set_put_byindex(map->net, e->id); 188 ip_set_put_byindex(map->net, x->id); 216 ip_set_put_byindex(map->net, e->id); 320 ip_set_put_byindex(map->net, d->id); 402 e.id = ip_set_get_byname(map->net, nla_data(tb[IPSET_ATTR_NAME]), &s); 422 e.refid = ip_set_get_byname(map->net, 439 ip_set_put_byindex(map->net, e.refid); 441 ip_set_put_byindex(map->net, 606 init_list_set(struct net *net, struct ip_set *set, u32 size) argument 631 list_set_create(struct net *net, struct ip_set *set, struct nlattr *tb[], u32 flags) argument [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_lblc.c | 56 #include <net/ip_vs.h> 253 struct netns_ipvs *ipvs = net_ipvs(svc->net); 553 static int __net_init __ip_vs_lblc_init(struct net *net) argument 555 struct netns_ipvs *ipvs = net_ipvs(net); 560 if (!net_eq(net, &init_net)) { 568 if (net->user_ns != &init_user_ns) 577 register_net_sysctl(net, "net/ipv4/vs", ipvs->lblc_ctl_table); 579 if (!net_eq(net, 587 __ip_vs_lblc_exit(struct net *net) argument 599 __ip_vs_lblc_init(struct net *net) argument 600 __ip_vs_lblc_exit(struct net *net) argument [all...] |
H A D | ip_vs_proto_sctp.c | 4 #include <net/ip.h> 5 #include <net/ip6_checksum.h> 8 #include <net/sctp/checksum.h> 9 #include <net/ip_vs.h> 16 struct net *net; local 35 net = skb_net(skb); 36 ipvs = net_ipvs(net); 39 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, 477 static int sctp_register_app(struct net *ne argument 501 sctp_unregister_app(struct net *net, struct ip_vs_app *inc) argument 552 __ip_vs_sctp_init(struct net *net, struct ip_vs_proto_data *pd) argument 564 __ip_vs_sctp_exit(struct net *net, struct ip_vs_proto_data *pd) argument [all...] |
H A D | ip_vs_proto_tcp.c | 26 #include <net/ip.h> 27 #include <net/tcp.h> /* for csum_tcpudp_magic */ 28 #include <net/ip6_checksum.h> 32 #include <net/ip_vs.h> 39 struct net *net; local 49 net = skb_net(skb); 50 ipvs = net_ipvs(net); 54 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, 574 static int tcp_register_app(struct net *ne argument 600 tcp_unregister_app(struct net *net, struct ip_vs_app *inc) argument 656 ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp) argument 671 __ip_vs_tcp_init(struct net *net, struct ip_vs_proto_data *pd) argument 684 __ip_vs_tcp_exit(struct net *net, struct ip_vs_proto_data *pd) argument [all...] |
/net/netfilter/ |
H A D | nf_conntrack_proto_dccp.c | 4 * Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net> 20 #include <net/net_namespace.h> 21 #include <net/netns/generic.h> 24 #include <net/netfilter/nf_conntrack.h> 25 #include <net/netfilter/nf_conntrack_l4proto.h> 26 #include <net/netfilter/nf_conntrack_ecache.h> 27 #include <net/netfilter/nf_log.h> 387 /* this module per-net specifics */ 395 static inline struct dccp_net *dccp_pernet(struct net *net) argument 425 struct net *net = nf_ct_net(ct); local 473 dccp_get_timeouts(struct net *net) argument 483 struct net *net = nf_ct_net(ct); local 570 dccp_error(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum) argument 716 dccp_timeout_nlattr_to_obj(struct nlattr *tb[], struct net *net, void *data) argument 819 dccp_kmemdup_sysctl_table(struct net *net, struct nf_proto_net *pn, struct dccp_net *dn) argument 848 dccp_init_net(struct net *net, u_int16_t proto) argument 936 dccp_net_init(struct net *net) argument 956 dccp_net_exit(struct net *net) argument [all...] |
H A D | nf_conntrack_standalone.c | 3 * (C) 2005-2012 Patrick McHardy <kaber@trash.net> 20 #include <net/net_namespace.h> 25 #include <net/netfilter/nf_conntrack.h> 26 #include <net/netfilter/nf_conntrack_core.h> 27 #include <net/netfilter/nf_conntrack_l3proto.h> 28 #include <net/netfilter/nf_conntrack_l4proto.h> 29 #include <net/netfilter/nf_conntrack_expect.h> 30 #include <net/netfilter/nf_conntrack_helper.h> 31 #include <net/netfilter/nf_conntrack_acct.h> 32 #include <net/netfilte 56 struct net *net = seq_file_net(seq); local 73 struct net *net = seq_file_net(seq); local 275 struct net *net = seq_file_net(seq); local 293 struct net *net = seq_file_net(seq); local 312 struct net *net = seq_file_net(seq); local 366 nf_conntrack_standalone_init_proc(struct net *net) argument 386 nf_conntrack_standalone_fini_proc(struct net *net) argument 392 nf_conntrack_standalone_init_proc(struct net *net) argument 397 nf_conntrack_standalone_fini_proc(struct net *net) argument 472 nf_conntrack_standalone_init_sysctl(struct net *net) argument 502 nf_conntrack_standalone_fini_sysctl(struct net *net) argument 511 nf_conntrack_standalone_init_sysctl(struct net *net) argument 516 nf_conntrack_standalone_fini_sysctl(struct net *net) argument 521 nf_conntrack_pernet_init(struct net *net) argument 551 struct net *net; local [all...] |
H A D | nf_log.c | 8 #include <net/protocol.h> 9 #include <net/netfilter/nf_log.h> 40 void nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) argument 48 log = rcu_dereference_protected(net->nf.nf_loggers[pf], 51 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); 57 void nf_log_unset(struct net *net, const struct nf_logger *logger) argument 64 log = rcu_dereference_protected(net->nf.nf_loggers[i], 67 RCU_INIT_POINTER(net 109 nf_log_bind_pf(struct net *net, u_int8_t pf, const struct nf_logger *logger) argument 125 nf_log_unbind_pf(struct net *net, u_int8_t pf) argument 177 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 266 struct net *net = seq_file_net(seq); local 278 struct net *net = seq_file_net(s); local 298 struct net *net = seq_file_net(s); local 366 struct net *net = current->nsproxy->net_ns; local 401 netfilter_log_sysctl_init(struct net *net) argument 445 netfilter_log_sysctl_exit(struct net *net) argument 455 netfilter_log_sysctl_init(struct net *net) argument 460 netfilter_log_sysctl_exit(struct net *net) argument 465 nf_log_net_init(struct net *net) argument 487 nf_log_net_exit(struct net *net) argument [all...] |
H A D | nfnetlink.c | 23 #include <linux/net.h> 26 #include <net/sock.h> 29 #include <net/netlink.h> 119 int nfnetlink_has_listeners(struct net *net, unsigned int group) argument 121 return netlink_has_listeners(net->nfnl, group); 125 struct sk_buff *nfnetlink_alloc_skb(struct net *net, unsigned int size, argument 128 return netlink_alloc_skb(net->nfnl, size, dst_portid, gfp_mask); 132 int nfnetlink_send(struct sk_buff *skb, struct net *ne argument 139 nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) argument 145 nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid, int flags) argument 155 struct net *net = sock_net(skb->sk); local 276 struct net *net = sock_net(skb->sk); local 485 nfnetlink_net_init(struct net *net) argument 506 struct net *net; local [all...] |
H A D | xt_connlimit.c | 30 #include <net/netfilter/nf_conntrack.h> 31 #include <net/netfilter/nf_conntrack_core.h> 32 #include <net/netfilter/nf_conntrack_tuple.h> 33 #include <net/netfilter/nf_conntrack_zones.h> 134 static unsigned int check_hlist(struct net *net, argument 150 found = nf_conntrack_find_get(net, NF_CT_DEFAULT_ZONE, 201 count_tree(struct net *net, struct rb_root *root, argument 232 count = check_hlist(net, 288 count_them(struct net *net, struct xt_connlimit_data *data, const struct nf_conntrack_tuple *tuple, const union nf_inet_addr *addr, const union nf_inet_addr *mask, u_int8_t family) argument 319 struct net *net = dev_net(par->in ? par->in : par->out); local [all...] |
/net/netlabel/ |
H A D | netlabel_kapi.c | 36 #include <net/ip.h> 37 #include <net/ipv6.h> 38 #include <net/netlabel.h> 39 #include <net/cipso_ipv4.h> 200 * @net: network namespace 214 int netlbl_cfg_unlbl_static_add(struct net *net, argument 237 return netlbl_unlhsh_add(net, 244 * @net: network namespace 257 int netlbl_cfg_unlbl_static_del(struct net *ne argument [all...] |
/net/nfc/ |
H A D | llcp_sock.c | 995 static int llcp_sock_create(struct net *net, struct socket *sock, argument
|
/net/packet/ |
H A D | internal.h | 78 struct net *net; member in struct:packet_fanout
|
/net/rxrpc/ |
H A D | af_rxrpc.c | 14 #include <linux/net.h> 20 #include <net/net_namespace.h> 21 #include <net/sock.h> 22 #include <net/af_rxrpc.h> 615 static int rxrpc_create(struct net *net, struct socket *sock, int protocol, argument 623 if (!net_eq(net, &init_net)) 636 sk = sk_alloc(net, PF_RXRPC, GFP_KERNEL, &rxrpc_proto);
|
/net/sched/ |
H A D | cls_api.c | 2 * net/sched/cls_api.c Packet classifier API. 27 #include <net/net_namespace.h> 28 #include <net/sock.h> 29 #include <net/netlink.h> 30 #include <net/pkt_sched.h> 31 #include <net/pkt_cls.h> 97 static int tfilter_notify(struct net *net, struct sk_buff *oskb, 118 struct net *net local 344 tcf_fill_node(struct net *net, struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, u32 portid, u32 seq, u16 flags, int event) argument 378 tfilter_notify(struct net *net, struct sk_buff *oskb, struct nlmsghdr *n, struct tcf_proto *tp, unsigned long fh, int event) argument 408 struct net *net = sock_net(a->skb->sk); local 417 struct net *net = sock_net(skb->sk); local 508 tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, bool ovr) argument [all...] |
H A D | cls_route.c | 2 * net/sched/cls_route.c ROUTE4 classifier. 19 #include <net/dst.h> 20 #include <net/route.h> 21 #include <net/netlink.h> 22 #include <net/act_api.h> 23 #include <net/pkt_cls.h> 369 static int route4_set_parms(struct net *net, struct tcf_proto *tp, argument 383 err = tcf_exts_validate(net, tp, tb, est, &e, ovr); 463 static int route4_change(struct net *ne argument 596 route4_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, struct sk_buff *skb, struct tcmsg *t) argument [all...] |
H A D | cls_rsvp.h | 2 * net/sched/cls_rsvp.h Template file for RSVPv[46] classifiers. 450 static int rsvp_change(struct net *net, struct sk_buff *in_skb, argument 477 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); 655 static int rsvp_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, argument
|
H A D | cls_tcindex.c | 2 * net/sched/cls_tcindex.c Packet classifier for skb->tc_index 13 #include <net/act_api.h> 14 #include <net/netlink.h> 15 #include <net/pkt_cls.h> 223 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, argument 236 err = tcf_exts_validate(net, tp, tb, est, &e, ovr); 414 tcindex_change(struct net *net, struct sk_buff *in_skb, argument 435 return tcindex_set_parms(net, t 494 tcindex_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, struct sk_buff *skb, struct tcmsg *t) argument [all...] |
H A D | em_meta.c | 2 * net/sched/em_meta.c Metadata ematch 71 #include <net/dst.h> 72 #include <net/route.h> 73 #include <net/pkt_cls.h> 74 #include <net/sock.h> 859 static int em_meta_change(struct net *net, void *data, int len, argument
|
/net/sctp/ |
H A D | ulpqueue.c | 40 #include <net/sock.h> 41 #include <net/busy_poll.h> 42 #include <net/sctp/structs.h> 43 #include <net/sctp/sctp.h> 44 #include <net/sctp/sm.h> 326 static struct sctp_ulpevent *sctp_make_reassembled_event(struct net *net, argument 397 SCTP_INC_STATS(net, SCTP_MIB_REASMUSRMSGS);
|
/net/wireless/ |
H A D | wext-core.c | 6 * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> 17 #include <net/cfg80211.h> 18 #include <net/iw_handler.h> 19 #include <net/netlink.h> 20 #include <net/wext.h> 21 #include <net/net_namespace.h> 345 static int __net_init wext_pernet_init(struct net *net) argument 347 skb_queue_head_init(&net->wext_nlevents); 351 static void __net_exit wext_pernet_exit(struct net *ne argument 372 struct net *net; local 884 wireless_process_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 947 wext_ioctl_dispatch(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 1009 wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, void __user *arg) argument 1057 compat_wext_handle_ioctl(struct net *net, unsigned int cmd, unsigned long arg) argument [all...] |
/net/atm/ |
H A D | common.c | 0 /* net/atm/common.c - ATM sockets (common part for PVC and SVC) */ 9 #include <linux/net.h> /* struct socket, struct proto_ops */ 22 #include <net/sock.h> /* struct sock */ 144 int vcc_create(struct net *net, struct socket *sock, int protocol, int family) argument 152 sk = sk_alloc(net, family, GFP_KERNEL, &vcc_proto);
|
/net/bluetooth/ |
H A D | hci_sock.c | 30 #include <net/bluetooth/bluetooth.h> 31 #include <net/bluetooth/hci_core.h> 32 #include <net/bluetooth/hci_mon.h> 1194 static int hci_sock_create(struct net *net, struct socket *sock, int protocol, argument 1206 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hci_sk_proto);
|