/net/x25/ |
D | x25_route.c | 26 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument 35 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route() 45 strcpy(rt->address.x25_addr, "000000000000000"); in x25_add_route() 46 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route() 74 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument 83 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route() 142 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route() 182 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl() 184 rc = x25_del_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
|
D | x25_proc.c | 54 rt->address.x25_addr, rt->sigdigits, in x25_seq_route_show()
|
/net/wireless/ |
D | wext-spy.c | 32 struct sockaddr * address = (struct sockaddr *) extra; in iw_handler_set_spy() local 57 memcpy(spydata->spy_address[i], address[i].sa_data, in iw_handler_set_spy() 80 struct sockaddr * address = (struct sockaddr *) extra; in iw_handler_get_spy() local 91 memcpy(address[i].sa_data, spydata->spy_address[i], ETH_ALEN); in iw_handler_get_spy() 92 address[i].sa_family = AF_UNIX; in iw_handler_get_spy() 163 unsigned char * address, in iw_send_thrspy_event() argument 173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event() 193 unsigned char * address, in wireless_spy_update() argument 206 if (ether_addr_equal(address, spydata->spy_address[i])) { in wireless_spy_update() 221 address, wstats); in wireless_spy_update() [all …]
|
/net/netfilter/ipset/ |
D | Kconfig | 42 can store IPv4 address and (source) MAC address pairs from a range. 70 can store IPv4/IPv6 address and mark pairs. 79 can store IPv4/IPv6 address and protocol/port pairs. 88 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6 89 address triples in a set. 98 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6 99 network address/prefix triples in a set. 108 one can store IPv4/IPv6 address and MAC (ethernet address) pairs in a set. 117 one can store MAC (ethernet address) elements in a set. 135 one can store IPv4/IPv6 network address/prefix elements in a set. [all …]
|
/net/rose/ |
D | rose_route.c | 64 (rosecmpm(&rose_route->address, &rose_node->address, in rose_add_node() 157 rose_node->address = rose_route->address; in rose_add_node() 305 (rosecmpm(&rose_route->address, &rose_node->address, in rose_del_node() 404 int rose_add_loopback_node(rose_address *address) in rose_add_loopback_node() argument 414 (rosecmpm(address, &rose_node->address, 10) == 0) && in rose_add_loopback_node() 428 rose_node->address = *address; in rose_add_loopback_node() 449 void rose_del_loopback_node(rose_address *address) in rose_del_loopback_node() argument 458 (rosecmpm(address, &rose_node->address, 10) == 0) && in rose_del_loopback_node() 688 if (rosecmpm(addr, &node->address, node->mask) == 0) { in rose_get_neigh() 699 if (rosecmpm(addr, &node->address, node->mask) == 0) { in rose_get_neigh() [all …]
|
/net/appletalk/ |
D | ddp.c | 114 atif->address.s_node == at->src_node) { in atalk_search_socket() 115 to->sat_addr.s_node = atif->address.s_node; in atalk_search_socket() 231 iface->address = *sa; in atif_add_device() 247 int probe_net = ntohs(atif->address.s_net); in atif_probe_device() 248 int probe_node = atif->address.s_node; in atif_probe_device() 264 atif->address.s_net = htons(probe_net); in atif_probe_device() 266 atif->address.s_node = (nodect + probe_node) & 0xFF; in atif_probe_device() 267 if (atif->address.s_node > 0 && in atif_probe_device() 268 atif->address.s_node < 254) { in atif_probe_device() 296 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device() [all …]
|
D | aarp.c | 445 sa->sat_addr.s_node = iface->address.s_node; in aarp_send_probe_phase1() 446 sa->sat_addr.s_net = ntohs(iface->address.s_net); in aarp_send_probe_phase1() 451 if (iface->address.s_net != htons(sa->sat_addr.s_net) || in aarp_send_probe_phase1() 452 iface->address.s_node != sa->sat_addr.s_node) in aarp_send_probe_phase1() 455 iface->address.s_net = htons(sa->sat_addr.s_net); in aarp_send_probe_phase1() 456 iface->address.s_node = sa->sat_addr.s_node; in aarp_send_probe_phase1() 470 aarp_send_probe(atif->dev, &atif->address); in aarp_probe_network() 755 ifa->address.s_node == ea->pa_dst_node && in aarp_rcv() 756 ifa->address.s_net == ea->pa_dst_net) { in aarp_rcv() 816 ma = &ifa->address; in aarp_rcv()
|
D | atalk_proc.c | 71 iface->dev->name, ntohs(iface->address.s_net), in atalk_seq_interface_show() 72 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show()
|
/net/ |
D | socket.c | 730 struct sockaddr_storage address; in sock_sendmsg() local 735 memcpy(&address, msg->msg_name, msg->msg_namelen); in sock_sendmsg() 736 msg->msg_name = &address; in sock_sendmsg() 1704 struct sockaddr_storage address; in __sys_bind() local 1709 err = move_addr_to_kernel(umyaddr, addrlen, &address); in __sys_bind() 1712 (struct sockaddr *)&address, in __sys_bind() 1717 &address, addrlen); in __sys_bind() 1768 struct sockaddr_storage address; in do_accept() local 1802 (struct sockaddr *)&address, 2); in do_accept() 1807 err = move_addr_to_user(&address, in do_accept() [all …]
|
/net/netfilter/ |
D | nf_conntrack_labels.c | 16 static int replace_u32(u32 *address, u32 mask, u32 new) in replace_u32() argument 21 old = *address; in replace_u32() 25 } while (cmpxchg(address, old, tmp) != old); in replace_u32()
|
D | Kconfig | 94 by means of per-address-family sysctl tunables. 291 responses. It relies on correct IP address configuration, specifically 292 netmask and broadcast address. When properly configured, the output 293 of "ip address show" should look similar to this: 295 $ ip -4 address show eth0 311 responses. It relies on correct IP address configuration, specifically 312 netmask and broadcast address. 981 addresses. It maps the network address part, while keeping the host 982 address part intact. 1031 mapped onto the incoming interface's address, causing the packets to [all …]
|
/net/sunrpc/ |
D | rpcb_clnt.c | 232 .address = (struct sockaddr *)&rpcb_localaddr_rpcbind, in rpcb_create_local_unix() 286 .address = (struct sockaddr *)&rpcb_inaddr_loopback, in rpcb_create_local_net() 353 .address = srvaddr, in rpcb_create() 566 const struct sockaddr *address, const char *netid) in rpcb_v4_register() argument 582 if (address == NULL) in rpcb_v4_register() 587 switch (address->sa_family) { in rpcb_v4_register() 589 return rpcb_register_inet4(sn, address, &msg); in rpcb_v4_register() 591 return rpcb_register_inet6(sn, address, &msg); in rpcb_v4_register() 893 struct sockaddr_storage address; in rpcb_dec_getaddr() local 894 struct sockaddr *sap = (struct sockaddr *)&address; in rpcb_dec_getaddr() [all …]
|
D | svcauth_unix.c | 189 } address; in ip_map_parse() local 209 if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) in ip_map_parse() 211 switch (address.sa.sa_family) { in ip_map_parse() 215 ipv6_addr_set_v4mapped(address.s4.sin_addr.s_addr, in ip_map_parse() 220 memcpy(&sin6, &address.s6, sizeof(sin6)); in ip_map_parse()
|
/net/bridge/netfilter/ |
D | Kconfig | 79 source address (MAC SNAT) or the MAC destination address (MAC DNAT). 97 and/or destination address on a list of addresses. Optionally, 98 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules. 188 destination address of frames. 206 destination address of a frame to that of the device it arrived on. 214 source address of frames.
|
/net/xdp/ |
D | xdp_umem.c | 96 static int xdp_umem_pin_pages(struct xdp_umem *umem, unsigned long address) in xdp_umem_pin_pages() argument 107 npgs = pin_user_pages(address, umem->npgs, in xdp_umem_pin_pages()
|
/net/can/j1939/ |
D | Makefile | 6 address-claim.o \
|
/net/ipv6/netfilter/ |
D | Kconfig | 102 tristate '"eui64" address check' 105 This module performs checking on the IPv6 source address 107 from the MAC address) address
|
/net/ipv4/ |
D | tcp.c | 1962 unsigned long *address, in tcp_zerocopy_vm_insert_batch_error() argument 1977 zap_page_range(vma, *address, maybe_zap_len); in tcp_zerocopy_vm_insert_batch_error() 1986 err = vm_insert_pages(vma, *address, in tcp_zerocopy_vm_insert_batch_error() 1991 *address += bytes_mapped; in tcp_zerocopy_vm_insert_batch_error() 2010 unsigned long *address, in tcp_zerocopy_vm_insert_batch() argument 2021 err = vm_insert_pages(vma, *address, pages, &pages_remaining); in tcp_zerocopy_vm_insert_batch() 2028 *address += bytes_mapped; in tcp_zerocopy_vm_insert_batch() 2035 pages_remaining, address, length, seq, zc, total_bytes_to_map, in tcp_zerocopy_vm_insert_batch() 2072 unsigned long address = (unsigned long)zc->address; in tcp_zerocopy_receive() local 2088 if (address & (PAGE_SIZE - 1) || address != zc->address) in tcp_zerocopy_receive() [all …]
|
D | Kconfig | 38 for their source address doesn't match the network interface they're 69 solely on the packet's final destination address. If you say Y here, 71 address into account. Furthermore, the TOS (Type-Of-Service) field 123 net via NFS and you want the IP address of your computer to be 140 net via NFS and you want the IP address of your computer to be 155 net via NFS and you want the IP address of your computer to be 285 If you are SYN flooded, the source address reported by the kernel is
|
/net/ipv6/ |
D | Kconfig | 133 IPv6 address into a 64 bit locator and 64 bit identifier. The 247 bool "IPv6: source address based routing" 250 Enable routing by source address or prefix. 252 The destination address is still the primary routing key, so mixing
|
/net/ncsi/ |
D | Kconfig | 18 This allows to get MAC address from NCSI firmware and set them back to
|
/net/netfilter/ipvs/ |
D | Kconfig | 14 single IP address and scheduling them to real servers. 183 This algorithm usually directs packet destined for an IP address to 187 least-connection server to this IP address. 327 FTP is a protocol that transfers IP address and/or port number in 329 the IP address and port number of real servers cannot be sent to
|
/net/dns_resolver/ |
D | Kconfig | 14 being resolving a UNC hostname element to an IP address for CIFS or
|
/net/dsa/ |
D | Kconfig | 36 Broadcom switches which place the tag after the MAC source address. 44 address.
|
/net/atm/ |
D | atm_sysfs.c | 93 static DEVICE_ATTR_RO(address);
|