/net/ |
D | Kconfig | 48 source "net/packet/Kconfig" 49 source "net/unix/Kconfig" 50 source "net/xfrm/Kconfig" 51 source "net/iucv/Kconfig" 78 source "net/ipv4/Kconfig" 79 source "net/ipv6/Kconfig" 80 source "net/netlabel/Kconfig" 124 based on type, source, destination etc. The other kind of firewall, 201 source "net/netfilter/Kconfig" 202 source "net/ipv4/netfilter/Kconfig" [all …]
|
/net/netfilter/ |
D | xt_addrtype.c | 109 if (info->source) in addrtype_mt6() 110 ret &= match_type6(net, dev, &iph->saddr, info->source) ^ in addrtype_mt6() 133 if (info->source) in addrtype_mt_v0() 134 ret &= match_type(net, NULL, iph->saddr, info->source) ^ in addrtype_mt_v0() 162 if (info->source) in addrtype_mt_v1() 163 ret &= match_type(net, dev, iph->saddr, info->source) ^ in addrtype_mt_v1() 200 if ((info->source | info->dest) & XT_ADDRTYPE_BLACKHOLE) { in addrtype_mt_checkentry_v1() 204 if ((info->source | info->dest) >= XT_ADDRTYPE_PROHIBIT) { in addrtype_mt_checkentry_v1() 208 if ((info->source | info->dest) & XT_ADDRTYPE_BROADCAST) { in addrtype_mt_checkentry_v1()
|
D | xt_TPROXY.c | 108 hp->source, lport ? lport : hp->dest, in tproxy_handle_time_wait4() 138 hp->source, hp->dest, in tproxy_tg4() 154 hp->source, lport, in tproxy_tg4() 172 iph->protocol, &iph->saddr, ntohs(hp->source), in tproxy_tg4() 263 hp->source, in tproxy_handle_time_wait6() 306 hp->source, hp->dest, in tproxy_tg6_v1() 321 hp->source, lport, in tproxy_tg6_v1() 331 tproto, &iph->saddr, ntohs(hp->source), in tproxy_tg6_v1() 339 tproto, &iph->saddr, ntohs(hp->source), in tproxy_tg6_v1()
|
D | xt_sctp.c | 135 pr_debug("spt: %d\tdpt: %d\n", ntohs(sh->source), ntohs(sh->dest)); in sctp_mt() 137 return SCCHECK(ntohs(sh->source) >= info->spts[0] in sctp_mt() 138 && ntohs(sh->source) <= info->spts[1], in sctp_mt()
|
D | xt_tcpudp.c | 98 ntohs(th->source), in tcp_mt() 151 ntohs(uh->source), in udp_mt()
|
D | nf_nat_proto_udp.c | 50 portptr = &hdr->source; in udp_manip_pkt()
|
D | nf_nat_proto_tcp.c | 59 portptr = &hdr->source; in tcp_manip_pkt()
|
D | nf_nat_proto_sctp.c | 48 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt()
|
/net/bridge/ |
D | br_fdb.c | 30 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source, 387 struct net_bridge_port *source, in fdb_create() argument 396 fdb->dst = source; in fdb_create() 406 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source, in fdb_insert() argument 424 source ? source->dev->name : br->dev->name); in fdb_insert() 428 fdb = fdb_create(head, source, addr, vid); in fdb_insert() 438 int br_fdb_insert(struct net_bridge *br, struct net_bridge_port *source, in br_fdb_insert() argument 444 ret = fdb_insert(br, source, addr, vid); in br_fdb_insert() 449 void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source, in br_fdb_update() argument 460 if (!(source->state == BR_STATE_LEARNING || in br_fdb_update() [all …]
|
/net/bluetooth/ |
D | Kconfig | 42 source "net/bluetooth/rfcomm/Kconfig" 44 source "net/bluetooth/bnep/Kconfig" 46 source "net/bluetooth/cmtp/Kconfig" 48 source "net/bluetooth/hidp/Kconfig" 50 source "drivers/bluetooth/Kconfig"
|
/net/nfc/ |
D | Kconfig | 17 source "net/nfc/nci/Kconfig" 18 source "net/nfc/hci/Kconfig" 20 source "drivers/nfc/Kconfig"
|
/net/netfilter/ipset/ |
D | ip_set_getport.c | 37 *port = src ? th->source : th->dest; in get_port() 49 *port = src ? sh->source : sh->dest; in get_port() 62 *port = src ? uh->source : uh->dest; in get_port()
|
/net/ieee802154/ |
D | 6lowpan.c | 252 if (((uh->source & LOWPAN_NHC_UDP_4BIT_MASK) == in lowpan_compress_udp_header() 260 ((uh->source & LOWPAN_NHC_UDP_4BIT_PORT) << 4)); in lowpan_compress_udp_header() 266 memcpy(*hc06_ptr + 1, &uh->source, 2); in lowpan_compress_udp_header() 269 } else if ((uh->source & LOWPAN_NHC_UDP_8BIT_MASK) == in lowpan_compress_udp_header() 274 **(hc06_ptr + 3) = (u8)(uh->source - LOWPAN_NHC_UDP_8BIT_PORT); in lowpan_compress_udp_header() 279 memcpy(*hc06_ptr + 1, &uh->source, 2); in lowpan_compress_udp_header() 329 memcpy(&uh->source, &skb->data[0], 2); in lowpan_uncompress_udp_header() 334 memcpy(&uh->source, &skb->data[0], 2); in lowpan_uncompress_udp_header() 340 uh->source = skb->data[0] + LOWPAN_NHC_UDP_8BIT_PORT; in lowpan_uncompress_udp_header() 345 uh->source = in lowpan_uncompress_udp_header() [all …]
|
/net/irda/ |
D | Kconfig | 30 source "net/irda/irlan/Kconfig" 32 source "net/irda/irnet/Kconfig" 34 source "net/irda/ircomm/Kconfig" 95 source "drivers/net/irda/Kconfig"
|
/net/ipv4/ |
D | syncookies.c | 180 th->source, th->dest, ntohl(th->seq), in cookie_v4_init_sequence() 201 th->source, th->dest, seq, in cookie_check() 312 ireq->rmt_port = th->source; in cookie_v4_check() 356 ireq->loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()
|
D | tcp_ipv4.c | 106 tcp_hdr(skb)->source); in tcp_v4_init_sequence() 349 iph->saddr, th->source, inet_iif(icmp_skb)); in tcp_v4_err() 632 rep.th.dest = th->source; in tcp_v4_send_reset() 633 rep.th.source = th->dest; in tcp_v4_send_reset() 662 th->source, ip_hdr(skb)->daddr, in tcp_v4_send_reset() 663 ntohs(th->source), inet_iif(skb)); in tcp_v4_send_reset() 763 rep.th.dest = th->source; in tcp_v4_send_ack() 764 rep.th.source = th->dest; in tcp_v4_send_ack() 1265 &iph->saddr, ntohs(th->source), in tcp_v4_inbound_md5_hash() 1578 &saddr, ntohs(tcp_hdr(skb)->source)); in tcp_v4_conn_request() [all …]
|
/net/ipv6/netfilter/ |
D | ip6t_REJECT.c | 102 fl6.fl6_dport = otcph.source; in send_reset() 141 tcph->source = otcph.dest; in send_reset() 142 tcph->dest = otcph.source; in send_reset()
|
/net/ipv6/ |
D | Kconfig | 226 bool "IPv6: source address based routing" 229 Enable routing by source address or prefix. 232 normal and source prefix specific routes in the same routing table 235 source prefix specific routes. 252 what to do with a multicast packet based on the source and
|
D | tcp_ipv6.c | 124 tcp_hdr(skb)->source); in tcp_v6_init_sequence() 352 th->dest, &hdr->saddr, th->source, skb->dev->ifindex); in tcp_v6_err() 702 &ip6h->saddr, ntohs(th->source), in tcp_v6_inbound_md5_hash() 760 t1->dest = th->source; in tcp_v6_send_response() 761 t1->source = th->dest; in tcp_v6_send_response() 802 fl6.fl6_sport = t1->source; in tcp_v6_send_response() 854 th->source, &ipv6h->daddr, in tcp_v6_send_reset() 855 ntohs(th->source), inet6_iif(skb)); in tcp_v6_send_reset() 927 req = inet6_csk_search_req(sk, &prev, th->source, in tcp_v6_hnd_req() 934 &ipv6_hdr(skb)->saddr, th->source, in tcp_v6_hnd_req() [all …]
|
D | syncookies.c | 132 return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source, in cookie_v6_init_sequence() 143 th->source, th->dest, seq, in cookie_check() 198 ireq->rmt_port = th->source; in cookie_v6_check()
|
D | udp.c | 450 sin6->sin6_port = udp_hdr(skb)->source; in udpv6_recvmsg() 518 saddr, uh->source, inet6_iif(skb), udptable); in __udp6_lib_err() 753 sk = udp_v6_mcast_next(net, sk, uh->dest, daddr, uh->source, saddr, dif); in __udp6_lib_mcast_deliver() 757 uh->source, saddr, dif); in __udp6_lib_mcast_deliver() 839 sk = __udp6_lib_lookup_skb(skb, uh->source, uh->dest, udptable); in __udp6_lib_rcv() 869 ntohs(uh->source), in __udp6_lib_rcv() 968 uh->source = fl6->fl6_sport; in udp_v6_push_pending_frames()
|
/net/ipv4/netfilter/ |
D | ipt_REJECT.c | 87 tcph->source = oth->dest; in send_reset() 88 tcph->dest = oth->source; in send_reset()
|
/net/netrom/ |
D | af_netrom.c | 569 ax25_address *source; in nr_bind() local 605 source = &addr->fsa_ax25.sax25_call; in nr_bind() 617 nr->user_addr = *source; in nr_bind() 620 nr->source_addr = *source; in nr_bind() 639 ax25_address *source = NULL; in nr_connect() local 679 source = (ax25_address *)dev->dev_addr; in nr_connect() 691 nr->user_addr = *source; in nr_connect() 694 nr->source_addr = *source; in nr_connect()
|
/net/openvswitch/ |
D | actions.c | 322 if (udp_port_key->udp_src != uh->source) in set_udp() 323 set_udp_port(skb, &uh->source, udp_port_key->udp_src); in set_udp() 342 if (tcp_port_key->tcp_src != th->source) in set_tcp() 343 set_tp_port(skb, &th->source, tcp_port_key->tcp_src, &th->check); in set_tcp()
|
/net/netfilter/ipvs/ |
D | Kconfig | 198 tristate "source hashing scheduling" 200 The source hashing scheduling algorithm assigns network 202 hash table by their source IP addresses. 236 int "IPVS source hashing table size (the Nth power of 2)" 240 The source hashing scheduler maps source IPs to destinations
|