/net/x25/ |
D | x25_route.c | 26 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument 38 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route() 48 strcpy(rt->address.x25_addr, "000000000000000"); in x25_add_route() 49 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route() 77 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument 89 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route() 159 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route() 199 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl() 201 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() 403 int rose_add_loopback_node(rose_address *address) in rose_add_loopback_node() argument 413 (rosecmpm(address, &rose_node->address, 10) == 0) && in rose_add_loopback_node() 427 rose_node->address = *address; in rose_add_loopback_node() 448 void rose_del_loopback_node(rose_address *address) in rose_del_loopback_node() argument 457 (rosecmpm(address, &rose_node->address, 10) == 0) && in rose_del_loopback_node() 686 if (rosecmpm(addr, &node->address, node->mask) == 0) { in rose_get_neigh() 697 if (rosecmpm(addr, &node->address, node->mask) == 0) { in rose_get_neigh() [all …]
|
/net/appletalk/ |
D | ddp.c | 113 atif->address.s_node == at->src_node) { in atalk_search_socket() 114 to->sat_addr.s_node = atif->address.s_node; in atalk_search_socket() 230 iface->address = *sa; in atif_add_device() 246 int probe_net = ntohs(atif->address.s_net); in atif_probe_device() 247 int probe_node = atif->address.s_node; in atif_probe_device() 263 atif->address.s_net = htons(probe_net); in atif_probe_device() 265 atif->address.s_node = (nodect + probe_node) & 0xFF; in atif_probe_device() 266 if (atif->address.s_node > 0 && in atif_probe_device() 267 atif->address.s_node < 254) { in atif_probe_device() 295 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/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 | 276 responses. It relies on correct IP address configuration, specifically 277 netmask and broadcast address. When properly configured, the output 278 of "ip address show" should look similar to this: 280 $ ip -4 address show eth0 296 responses. It relies on correct IP address configuration, specifically 297 netmask and broadcast address. 954 addresses. It maps the network address part, while keeping the host 955 address part intact. 1004 mapped onto the incoming interface's address, causing the packets to 1017 changed to seem to come from a particular interface's address, and [all …]
|
/net/ |
D | socket.c | 664 struct sockaddr_storage address; in sock_sendmsg() local 669 memcpy(&address, msg->msg_name, msg->msg_namelen); in sock_sendmsg() 670 msg->msg_name = &address; in sock_sendmsg() 1645 struct sockaddr_storage address; in __sys_bind() local 1650 err = move_addr_to_kernel(umyaddr, addrlen, &address); in __sys_bind() 1653 (struct sockaddr *)&address, in __sys_bind() 1658 &address, addrlen); in __sys_bind() 1720 struct sockaddr_storage address; in __sys_accept4() local 1769 (struct sockaddr *)&address, 2); in __sys_accept4() 1774 err = move_addr_to_user(&address, in __sys_accept4() [all …]
|
/net/sunrpc/ |
D | rpcb_clnt.c | 238 .address = (struct sockaddr *)&rpcb_localaddr_rpcbind, in rpcb_create_local_unix() 298 .address = (struct sockaddr *)&rpcb_inaddr_loopback, in rpcb_create_local_net() 370 .address = srvaddr, in rpcb_create() 599 const struct sockaddr *address, const char *netid) in rpcb_v4_register() argument 615 if (address == NULL) in rpcb_v4_register() 618 switch (address->sa_family) { in rpcb_v4_register() 620 return rpcb_register_inet4(sn, address, &msg); in rpcb_v4_register() 622 return rpcb_register_inet6(sn, address, &msg); in rpcb_v4_register() 963 struct sockaddr_storage address; in rpcb_dec_getaddr() local 964 struct sockaddr *sap = (struct sockaddr *)&address; in rpcb_dec_getaddr() [all …]
|
D | svcauth_unix.c | 184 } address; in ip_map_parse() local 204 if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) in ip_map_parse() 206 switch (address.sa.sa_family) { in ip_map_parse() 210 ipv6_addr_set_v4mapped(address.s4.sin_addr.s_addr, in ip_map_parse() 215 memcpy(&sin6, &address.s6, sizeof(sin6)); in ip_map_parse()
|
D | clnt.c | 525 .dstaddr = args->address, in rpc_create() 553 (struct sockaddr_un *)args->address; in rpc_create() 555 (struct sockaddr_in *)args->address; in rpc_create() 557 (struct sockaddr_in6 *)args->address; in rpc_create() 560 switch (args->address->sa_family) { in rpc_create() 1439 struct sockaddr_storage address; in rpc_localaddr() local 1440 struct sockaddr *sap = (struct sockaddr *)&address; in rpc_localaddr()
|
/net/bridge/netfilter/ |
D | Kconfig | 81 source address (MAC SNAT) or the MAC destination address (MAC DNAT). 99 and/or destination address on a list of addresses. Optionally, 100 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules. 190 destination address of frames. 208 destination address of a frame to that of the device it arrived on. 216 source address of frames.
|
/net/can/j1939/ |
D | Makefile | 6 address-claim.o \
|
/net/ipv6/ |
D | Kconfig | 119 IPv6 address into a 64 bit locator and 64 bit identifier. The 233 bool "IPv6: source address based routing" 236 Enable routing by source address or prefix. 238 The destination address is still the primary routing key, so mixing
|
/net/ipv6/netfilter/ |
D | Kconfig | 99 tristate '"eui64" address check' 102 This module performs checking on the IPv6 source address 104 from the MAC address) address
|
/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. 316 FTP is a protocol that transfers IP address and/or port number in 318 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/xdp/ |
D | xdp_umem.c | 294 npgs = get_user_pages(umem->address, umem->npgs, in xdp_umem_pin_pages() 392 umem->address = (unsigned long)addr; in xdp_umem_reg()
|
/net/ipv4/ |
D | tcp.c | 1759 unsigned long address = (unsigned long)zc->address; in tcp_zerocopy_receive() local 1768 if (address & (PAGE_SIZE - 1) || address != zc->address) in tcp_zerocopy_receive() 1778 vma = find_vma(current->mm, address); in tcp_zerocopy_receive() 1779 if (!vma || vma->vm_start > address || vma->vm_ops != &tcp_vm_ops) { in tcp_zerocopy_receive() 1783 zc->length = min_t(unsigned long, zc->length, vma->vm_end - address); in tcp_zerocopy_receive() 1791 zap_page_range(vma, address, zc->length); in tcp_zerocopy_receive() 1829 ret = vm_insert_page(vma, address + length, in tcp_zerocopy_receive()
|
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/atm/ |
D | atm_sysfs.c | 99 static DEVICE_ATTR(address, 0444, show_address, NULL);
|