/linux-master/tools/testing/selftests/drivers/net/dsa/ |
H A D | tc_actions.sh | 8 cd "$libdir"/../../../net/forwarding/ || exit 1
|
/linux-master/tools/testing/selftests/drivers/net/hw/lib/py/ |
H A D | __init__.py | 10 from net.lib.py import * 11 from drivers.net.lib.py import * 13 ksft_pr("Failed importing `net` library from kernel sources")
|
/linux-master/net/sctp/ |
H A D | sm_statefuns.c | 37 #include <linux/net.h> 40 #include <net/sock.h> 41 #include <net/proto_memory.h> 42 #include <net/inet_ecn.h> 44 #include <net/sctp/sctp.h> 45 #include <net/sctp/sm.h> 46 #include <net/sctp/structs.h> 52 struct net *net, 61 struct net *ne 232 sctp_sf_do_4_C(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 317 sctp_sf_do_5_1B_init(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 517 sctp_sf_do_5_1C_ack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 636 sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, const struct sctp_association *asoc) argument 699 sctp_sf_do_5_1D_ce(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 920 sctp_sf_do_5_1E_ca(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1039 sctp_sf_sendbeat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1087 sctp_sf_send_reconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1116 sctp_sf_send_probe(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1164 sctp_sf_beat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1238 sctp_sf_backbeat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1324 sctp_sf_send_restart_abort(struct net *net, union sctp_addr *ssa, struct sctp_chunk *init, struct sctp_cmd_seq *commands) argument 1393 struct net *net = new_asoc->base.net; local 1511 sctp_sf_do_unexpected_init( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1730 sctp_sf_do_5_2_1_siminit( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1785 sctp_sf_do_5_2_2_dupinit( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1809 sctp_sf_do_5_2_3_initack( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 1830 struct net *net = asoc->base.net; local 1855 sctp_sf_do_dupcook_a( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_cmd_seq *commands, struct sctp_association *new_asoc) argument 1978 sctp_sf_do_dupcook_b( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_cmd_seq *commands, struct sctp_association *new_asoc) argument 2062 sctp_sf_do_dupcook_c( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_cmd_seq *commands, struct sctp_association *new_asoc) argument 2085 sctp_sf_do_dupcook_d( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_cmd_seq *commands, struct sctp_association *new_asoc) argument 2197 sctp_sf_do_5_2_4_dupcook( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2324 sctp_sf_shutdown_pending_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2370 sctp_sf_shutdown_sent_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2424 sctp_sf_shutdown_ack_sent_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2452 sctp_sf_cookie_echoed_err( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2517 sctp_sf_do_5_2_6_stale( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2640 sctp_sf_do_9_1_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2681 __sctp_sf_do_9_1_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2712 sctp_sf_cookie_wait_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2752 sctp_sf_cookie_wait_icmp_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2768 sctp_sf_cookie_echoed_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2787 sctp_stop_t1_and_abort( struct net *net, struct sctp_cmd_seq *commands, __be16 error, int sk_err, const struct sctp_association *asoc, struct sctp_transport *transport) argument 2842 sctp_sf_do_9_2_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2932 sctp_sf_do_9_2_shut_ctsn( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 2987 __sctp_sf_do_9_2_reshutack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3025 sctp_sf_do_9_2_reshutack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3069 sctp_sf_do_ecn_cwr(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3125 sctp_sf_do_ecne(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3181 sctp_sf_eat_data_6_2(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3301 sctp_sf_eat_data_fast_4_4( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3393 sctp_sf_eat_sack_6_2(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3469 sctp_sf_tabort_8_4_8( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3516 sctp_sf_new_encap_port( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3559 sctp_sf_operr_notify(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3597 sctp_sf_do_9_2_final(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3680 sctp_sf_ootb(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3775 sctp_sf_shut_8_4_5( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3832 sctp_sf_do_8_5_1_E_sa(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3860 sctp_sf_do_asconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 3973 sctp_send_next_asconf( struct net *net, const struct sctp_endpoint *ep, struct sctp_association *asoc, const union sctp_subtype type, struct sctp_cmd_seq *commands) argument 4001 sctp_sf_do_asconf_ack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4116 sctp_sf_do_reconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4193 sctp_sf_eat_fwd_tsn(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4259 sctp_sf_eat_fwd_tsn_fast( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4422 sctp_sf_eat_auth(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4518 sctp_sf_unk_chunk(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4598 sctp_sf_discard_chunk(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4641 sctp_sf_pdiscard(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4668 sctp_sf_violation(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4691 sctp_sf_abort_violation( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, void *arg, struct sctp_cmd_seq *commands, const __u8 *payload, const size_t paylen) argument 4808 sctp_sf_violation_chunklen( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4828 sctp_sf_violation_paramlen( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, void *ext, struct sctp_cmd_seq *commands) argument 4871 sctp_sf_violation_ctsn( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4891 sctp_sf_violation_chunk( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 4964 sctp_sf_do_prm_asoc(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5076 sctp_sf_do_prm_send(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5115 sctp_sf_do_9_2_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5172 sctp_sf_do_9_1_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5210 sctp_sf_error_closed(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5224 sctp_sf_error_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5251 sctp_sf_cookie_wait_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5286 sctp_sf_cookie_echoed_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5314 sctp_sf_cookie_wait_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5363 sctp_sf_cookie_echoed_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5389 sctp_sf_shutdown_pending_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5416 sctp_sf_shutdown_sent_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5447 sctp_sf_shutdown_ack_sent_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5483 sctp_sf_do_prm_requestheartbeat( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5516 sctp_sf_do_prm_asconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5533 sctp_sf_do_prm_reconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5551 sctp_sf_ignore_primitive( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5575 sctp_sf_do_no_pending_tsn( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5607 sctp_sf_do_9_2_start_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5677 sctp_sf_do_9_2_shutdown_ack( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5751 sctp_sf_ignore_other(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5779 sctp_sf_do_6_3_3_rtx(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5867 sctp_sf_do_6_2_sack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5898 sctp_sf_t1_init_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 5963 sctp_sf_t1_cookie_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6014 sctp_sf_t2_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6085 sctp_sf_t4_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6157 sctp_sf_t5_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6194 sctp_sf_autoclose_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6238 sctp_sf_not_impl(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6255 sctp_sf_bug(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6275 sctp_sf_timer_ignore(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const union sctp_subtype type, void *arg, struct sctp_cmd_seq *commands) argument 6319 sctp_abort_pkt_new( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, const void *payload, size_t paylen) argument 6361 sctp_ootb_pkt_new( struct net *net, const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 6445 sctp_send_stale_cookie_err(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const struct sctp_chunk *chunk, struct sctp_cmd_seq *commands, struct sctp_chunk *err_chunk) argument 6482 struct net *net = sock_net(sk); local [all...] |
/linux-master/net/wireless/ |
H A D | wext-proc.c | 11 * The /proc/net/wireless file is a human readable user-space interface 15 * This interface is a pure clone of /proc/net/dev (in net/core/dev.c). 25 #include <net/iw_handler.h> 26 #include <net/wext.h> 73 * Print info for /proc/net/wireless (print all entries) 92 struct net *net = seq_file_net(seq); local 101 for_each_netdev(net, dev) 109 struct net *ne local 129 wext_proc_init(struct net *net) argument 139 wext_proc_exit(struct net *net) argument [all...] |
/linux-master/net/ipv4/ |
H A D | netfilter.c | 14 #include <net/route.h> 15 #include <net/xfrm.h> 16 #include <net/ip.h> 17 #include <net/netfilter/nf_queue.h> 20 int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned int addr_type) argument 35 addr_type = inet_addr_type_dev_table(net, dev, saddr); 51 fib4_rules_early_flow_dissect(net, skb, &fl4, &flkeys); 52 rt = ip_route_output_key(net, &fl4); 65 xfrm_decode_session(net, sk 86 nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict __always_unused) argument [all...] |
H A D | ip_fragment.c | 39 #include <net/route.h> 40 #include <net/dst.h> 41 #include <net/sock.h> 42 #include <net/ip.h> 43 #include <net/icmp.h> 44 #include <net/checksum.h> 45 #include <net/inetpeer.h> 46 #include <net/inet_frag.h> 51 #include <net/inet_ecn.h> 52 #include <net/l3mde 85 struct net *net = q->fqdir->net; local 138 struct net *net; local 205 ip_find(struct net *net, struct iphdr *iph, u32 user, int vif) argument 277 struct net *net = qp->q.fqdir->net; local 415 struct net *net = qp->q.fqdir->net; local 484 ip_defrag(struct net *net, struct sk_buff *skb, u32 user) argument 512 ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) argument 597 ip4_frags_ns_ctl_register(struct net *net) argument 631 ip4_frags_ns_ctl_unregister(struct net *net) argument 645 ip4_frags_ns_ctl_register(struct net *net) argument 650 ip4_frags_ns_ctl_unregister(struct net *net) argument 659 ipv4_frags_init_net(struct net *net) argument 697 ipv4_frags_pre_exit_net(struct net *net) argument 702 ipv4_frags_exit_net(struct net *net) argument [all...] |
H A D | ip_forward.c | 30 #include <net/sock.h> 31 #include <net/ip.h> 32 #include <net/tcp.h> 33 #include <net/udp.h> 34 #include <net/icmp.h> 38 #include <net/checksum.h> 40 #include <net/route.h> 41 #include <net/xfrm.h> 65 static int ip_forward_finish(struct net *net, struc argument 89 struct net *net; local [all...] |
/linux-master/net/ipv6/ |
H A D | xfrm6_tunnel.c | 8 * Based on net/ipv4/xfrm4_tunnel.c 14 #include <net/ip.h> 15 #include <net/xfrm.h> 16 #include <net/ipv6.h> 20 #include <net/netns/generic.h> 35 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) argument 37 return net_generic(net, xfrm6_tunnel_net_id); 74 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, cons argument 89 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) argument 102 __xfrm6_tunnel_spi_check(struct net *net, u32 spi) argument 117 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) argument 163 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) argument 187 xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) argument 224 struct net *net = dev_net(skb->dev); local 292 struct net *net = xs_net(x); local 318 xfrm6_tunnel_net_init(struct net *net) argument 332 xfrm6_tunnel_net_exit(struct net *net) argument [all...] |
H A D | xfrm6_policy.c | 18 #include <net/addrconf.h> 19 #include <net/dst.h> 20 #include <net/xfrm.h> 21 #include <net/ip.h> 22 #include <net/ipv6.h> 23 #include <net/ip6_route.h> 24 #include <net/l3mdev.h> 26 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, argument 36 fl6.flowi6_l3mdev = l3mdev_master_ifindex_by_index(net, oi 53 xfrm6_get_saddr(struct net *net, int oif, xfrm_address_t *saddr, xfrm_address_t *daddr, u32 mark) argument 195 xfrm6_net_sysctl_init(struct net *net) argument 224 xfrm6_net_sysctl_exit(struct net *net) argument 237 xfrm6_net_sysctl_init(struct net *net) argument 242 xfrm6_net_sysctl_exit(struct net *net) argument 247 xfrm6_net_init(struct net *net) argument 264 xfrm6_net_exit(struct net *net) argument [all...] |
H A D | output_core.c | 7 #include <net/ip.h> 8 #include <net/ipv6.h> 9 #include <net/ip6_fib.h> 10 #include <net/addrconf.h> 11 #include <net/secure_seq.h> 14 static u32 __ipv6_select_ident(struct net *net, argument 29 __be32 ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb) argument 42 id = __ipv6_select_ident(net, 47 ipv6_select_ident(struct net *net, const struct in6_addr *daddr, const struct in6_addr *saddr) argument 124 __ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) argument 149 ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) argument [all...] |
/linux-master/net/netlabel/ |
H A D | netlabel_unlabeled.h | 19 #include <net/netlabel.h> 209 int netlbl_unlhsh_add(struct net *net, 216 int netlbl_unlhsh_remove(struct net *net,
|
/linux-master/include/net/ |
H A D | secure_seq.h | 7 struct net; 14 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr); 17 u32 secure_tcpv6_ts_off(const struct net *net,
|
H A D | ip6_route.h | 5 #include <net/addrconf.h> 6 #include <net/flow.h> 7 #include <net/ip6_fib.h> 8 #include <net/sock.h> 9 #include <net/lwtunnel.h> 13 #include <net/nexthop.h> 81 struct dst_entry *ip6_route_input_lookup(struct net *net, 86 struct dst_entry *ip6_route_output_flags(struct net *net, cons 89 ip6_route_output(struct net *net, const struct sock *sk, struct flowi6 *fl6) argument 128 ip6_route_get_saddr(struct net *net, struct fib6_info *f6i, const struct in6_addr *daddr, unsigned int prefs, struct in6_addr *saddr) argument 194 struct net *net; member in struct:rt6_rtnl_dump_arg [all...] |
H A D | inet6_hashtables.h | 20 #include <net/inet_sock.h> 22 #include <net/ipv6.h> 23 #include <net/netns/hash.h> 43 struct sock *__inet6_lookup_established(struct net *net, 51 typedef u32 (inet6_ehashfn_t)(const struct net *net, 59 struct sock *inet6_lookup_reuseport(struct net *net, struct sock *sk, 67 struct sock *inet6_lookup_listener(struct net *ne 85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) argument 107 inet6_steal_sock(struct net *net, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, bool *refcounted, inet6_ehashfn_t *ehashfn) argument 153 struct net *net = dev_net(skb_dst(skb)->dev); local 178 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) argument [all...] |
H A D | route.h | 23 #include <net/dst.h> 24 #include <net/inetpeer.h> 25 #include <net/flow.h> 26 #include <net/inet_sock.h> 27 #include <net/ip_fib.h> 28 #include <net/arp.h> 29 #include <net/ndisc.h> 129 void rt_cache_flush(struct net *net); 131 struct rtable *ip_route_output_key_hash(struct net *ne 137 __ip_route_output_key(struct net *net, struct flowi4 *flp) argument 148 ip_route_output_key(struct net *net, struct flowi4 *flp) argument 157 ip_route_output(struct net *net, __be32 daddr, __be32 saddr, u8 tos, int oif, __u8 scope) argument 172 ip_route_output_ports(struct net *net, struct flowi4 *fl4, const struct sock *sk, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, __u8 proto, __u8 tos, int oif) argument 187 ip_route_output_gre(struct net *net, struct flowi4 *fl4, __be32 daddr, __be32 saddr, __be32 gre_key, __u8 tos, int oif) argument 321 struct net *net = sock_net(sk); local 367 struct net *net = dev_net(dst->dev); local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | ip_defrag.sh | 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 25 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null 2>&1 26 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null 2>&1 27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 30 ip netns exec "${NETNS}" sysctl -w net [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | iptable_raw.c | 11 #include <net/ip.h> 37 static int iptable_raw_table_init(struct net *net) argument 49 ret = ipt_register_table(net, table, repl, rawtable_ops); 54 static void __net_exit iptable_raw_net_pre_exit(struct net *net) argument 56 ipt_unregister_table_pre_exit(net, "raw"); 59 static void __net_exit iptable_raw_net_exit(struct net *net) argument 61 ipt_unregister_table_exit(net, "ra [all...] |
H A D | iptable_mangle.c | 13 #include <net/sock.h> 14 #include <net/route.h> 16 #include <net/ip.h> 63 err = ip_route_me_harder(state->net, state->sk, skb, RTN_UNSPEC); 84 static int iptable_mangle_table_init(struct net *net) argument 92 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops); 97 static void __net_exit iptable_mangle_net_pre_exit(struct net *net) argument 99 ipt_unregister_table_pre_exit(net, "mangl 102 iptable_mangle_net_exit(struct net *net) argument [all...] |
/linux-master/net/bridge/netfilter/ |
H A D | ebtable_broute.c | 12 * other ebtables table. See net/bridge/br_input.c. 59 s->net, NULL); 93 static int broute_table_init(struct net *net) argument 95 return ebt_register_table(net, &broute_table, &ebt_ops_broute); 98 static void __net_exit broute_net_pre_exit(struct net *net) argument 100 ebt_unregister_table_pre_exit(net, "broute"); 103 static void __net_exit broute_net_exit(struct net *net) argument [all...] |
/linux-master/include/linux/ |
H A D | mroute_base.h | 7 #include <net/net_namespace.h> 8 #include <net/sock.h> 9 #include <net/fib_notifier.h> 10 #include <net/ip_fib.h> 73 static inline int mr_call_vif_notifiers(struct net *net, argument 93 return call_fib_notifiers(net, event_type, &info.info); 197 static inline int mr_call_mfc_notifiers(struct net *net, argument 213 return call_fib_notifiers(net, event_typ 248 possible_net_t net; member in struct:mr_table 347 mr_rtm_dumproute(struct sk_buff *skb, struct netlink_callback *cb, struct mr_table *(*iter)(struct net *net, struct mr_table *mrt), int (*fill)(struct mr_table *mrt, struct sk_buff *skb, u32 portid, u32 seq, struct mr_mfc *c, int cmd, int flags), spinlock_t *lock, struct fib_dump_filter *filter) argument 359 mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, int (*rules_dump)(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack), struct mr_table *(*mr_iter)(struct net *net, struct mr_table *mrt), struct netlink_ext_ack *extack) argument 437 mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos) argument 454 mr_mfc_seq_idx(struct net *net, struct mr_mfc_iter *it, loff_t pos) argument [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | u_ether.c | 61 struct net_device *net; member in struct:eth_dev 109 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) argument 111 struct eth_dev *dev = netdev_priv(net); 176 size += sizeof(struct ethhdr) + dev->net->mtu + RX_EXTRA; 188 skb = __netdev_alloc_skb(dev->net, size + NET_IP_ALIGN, gfp_flags); 256 dev->net->stats.rx_errors++; 257 dev->net->stats.rx_length_errors++; 262 skb2->protocol = eth_type_trans(skb2, dev->net); 263 dev->net->stats.rx_packets++; 264 dev->net 454 eth_start_xmit(struct sk_buff *skb, struct net_device *net) argument 614 eth_open(struct net_device *net) argument 632 eth_stop(struct net_device *net) argument 744 struct net_device *net; local 816 struct net_device *net; local 857 gether_register_netdev(struct net_device *net) argument 889 gether_set_gadget(struct net_device *net, struct usb_gadget *g) argument 899 gether_set_dev_addr(struct net_device *net, const char *dev_addr) argument 913 gether_get_dev_addr(struct net_device *net, char *dev_addr, int len) argument 929 gether_set_host_addr(struct net_device *net, const char *host_addr) argument 942 gether_get_host_addr(struct net_device *net, char *host_addr, int len) argument 958 gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len) argument 974 gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) argument 983 gether_set_qmult(struct net_device *net, unsigned qmult) argument 992 gether_get_qmult(struct net_device *net) argument 1001 gether_get_ifname(struct net_device *net, char *name, int len) argument 1014 gether_set_ifname(struct net_device *net, const char *name, int len) argument [all...] |
/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_REJECT.c | 11 * Copyright (c) 2005-2007 Patrick McHardy <kaber@trash.net> 13 * Based on net/ipv4/netfilter/ipt_REJECT.c 22 #include <net/icmp.h> 23 #include <net/flow.h> 28 #include <net/netfilter/ipv6/nf_reject.h> 38 struct net *net = xt_net(par); local 42 nf_send_unreach6(net, skb, ICMPV6_NOROUTE, xt_hooknum(par)); 45 nf_send_unreach6(net, skb, ICMPV6_ADM_PROHIBITED, 49 nf_send_unreach6(net, sk [all...] |
/linux-master/net/netfilter/ |
H A D | nf_conntrack_proto.c | 16 #include <net/netfilter/nf_conntrack.h> 17 #include <net/netfilter/nf_conntrack_l4proto.h> 18 #include <net/netfilter/nf_conntrack_core.h> 19 #include <net/netfilter/nf_conntrack_bridge.h> 20 #include <net/netfilter/nf_log.h> 25 #include <net/route.h> 26 #include <net/ip.h> 31 #include <net/netfilter/nf_conntrack_helper.h> 32 #include <net/netfilter/nf_conntrack_zones.h> 33 #include <net/netfilte 54 struct net *net = state->net; local 79 struct net *net; local 438 nf_ct_netns_do_get(struct net *net, u8 nfproto) argument 527 nf_ct_netns_do_put(struct net *net, u8 nfproto) argument 562 nf_ct_netns_inet_get(struct net *net) argument 582 nf_ct_netns_get(struct net *net, u8 nfproto) argument 609 nf_ct_netns_put(struct net *net, uint8_t nfproto) argument 675 nf_conntrack_proto_pernet_init(struct net *net) argument [all...] |
/linux-master/net/mctp/ |
H A D | neigh.c | 19 #include <net/mctp.h> 20 #include <net/mctpdevice.h> 21 #include <net/netlink.h> 22 #include <net/sock.h> 28 struct net *net = dev_net(mdev->dev); local 32 mutex_lock(&net->mctp.neigh_lock); 55 list_add_rcu(&neigh->list, &net->mctp.neighbours); 58 mutex_unlock(&net->mctp.neigh_lock); 73 struct net *ne local 91 struct net *net = dev_net(mdev->dev); local 118 struct net *net = sock_net(skb->sk); local 176 struct net *net = sock_net(skb->sk); local 245 struct net *net = sock_net(skb->sk); local 281 struct net *net = dev_net(mdev->dev); local 300 mctp_neigh_net_init(struct net *net) argument 309 mctp_neigh_net_exit(struct net *net) argument [all...] |
/linux-master/include/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 25 int ipt_register_table(struct net *net, const struct xt_table *table, 29 void ipt_unregister_table_pre_exit(struct net *net, const char *name); 30 void ipt_unregister_table_exit(struct net *net, const char *name); 71 #include <net/compat.h>
|