Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 34) sorted by relevance

12

/net/x25/
Dx25_route.c31 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument
43 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route()
53 strcpy(rt->address.x25_addr, "000000000000000"); in x25_add_route()
54 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route()
82 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument
94 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route()
164 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route()
204 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
206 rc = x25_del_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
Dx25_proc.c59 rt->address.x25_addr, rt->sigdigits, in x25_seq_route_show()
/net/wireless/
Dwext-spy.c32 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/
DKconfig41 can store IPv4 address and (source) MAC address pairs from a range.
69 can store IPv4/IPv6 address and protocol/port pairs.
78 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
79 address triples in a set.
88 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
89 network address/prefix triples in a set.
98 one can store IPv4/IPv6 network address/prefix elements in a set.
107 one can store IPv4/IPv6 network address/prefix and
117 one can store IPv4/IPv6 network address/prefix and
/net/appletalk/
Dddp.c118 atif->address.s_node == at->src_node) { in atalk_search_socket()
119 to->sat_addr.s_node = atif->address.s_node; in atalk_search_socket()
236 iface->address = *sa; in atif_add_device()
252 int probe_net = ntohs(atif->address.s_net); in atif_probe_device()
253 int probe_node = atif->address.s_node; in atif_probe_device()
269 atif->address.s_net = htons(probe_net); in atif_probe_device()
271 atif->address.s_node = (nodect + probe_node) & 0xFF; in atif_probe_device()
272 if (atif->address.s_node > 0 && in atif_probe_device()
273 atif->address.s_node < 254) { in atif_probe_device()
301 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device()
[all …]
Daarp.c450 sa->sat_addr.s_node = iface->address.s_node; in aarp_send_probe_phase1()
451 sa->sat_addr.s_net = ntohs(iface->address.s_net); in aarp_send_probe_phase1()
456 if (iface->address.s_net != htons(sa->sat_addr.s_net) || in aarp_send_probe_phase1()
457 iface->address.s_node != sa->sat_addr.s_node) in aarp_send_probe_phase1()
460 iface->address.s_net = htons(sa->sat_addr.s_net); in aarp_send_probe_phase1()
461 iface->address.s_node = sa->sat_addr.s_node; in aarp_send_probe_phase1()
475 aarp_send_probe(atif->dev, &atif->address); in aarp_probe_network()
760 ifa->address.s_node == ea->pa_dst_node && in aarp_rcv()
761 ifa->address.s_net == ea->pa_dst_net) { in aarp_rcv()
821 ma = &ifa->address; in aarp_rcv()
Datalk_proc.c74 iface->dev->name, ntohs(iface->address.s_net), in atalk_seq_interface_show()
75 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show()
/net/rose/
Drose_route.c68 (rosecmpm(&rose_route->address, &rose_node->address, in rose_add_node()
161 rose_node->address = rose_route->address; in rose_add_node()
309 (rosecmpm(&rose_route->address, &rose_node->address, in rose_del_node()
406 int rose_add_loopback_node(rose_address *address) in rose_add_loopback_node() argument
416 (rosecmpm(address, &rose_node->address, 10) == 0) && in rose_add_loopback_node()
430 rose_node->address = *address; in rose_add_loopback_node()
451 void rose_del_loopback_node(rose_address *address) in rose_del_loopback_node() argument
460 (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/ipx/
DKconfig37 Every IPX network has an address that identifies it. Sometimes it is
38 useful to give an IPX "network" address to your Linux box as well
41 same address). The way this is done is to create a virtual internal
42 "network" inside your box and to assign an IPX address to this
48 evaluating the field sipx_node of the socket address given to the
/net/netfilter/
Dnf_conntrack_labels.c56 static void replace_u32(u32 *address, u32 mask, u32 new) in replace_u32() argument
61 old = *address; in replace_u32()
63 } while (cmpxchg(address, old, tmp) != old); in replace_u32()
DKconfig243 responses. It relies on correct IP address configuration, specifically
244 netmask and broadcast address. When properly configured, the output
245 of "ip address show" should look similar to this:
247 $ ip -4 address show eth0
263 responses. It relies on correct IP address configuration, specifically
264 netmask and broadcast address.
658 addresses. It maps the network address part, while keeping the host
659 address part intact.
707 mapped onto the incoming interface's address, causing the packets to
800 tristate '"addrtype" address type match support'
[all …]
/net/sunrpc/
Drpcb_clnt.c235 .address = (struct sockaddr *)&rpcb_localaddr_rpcbind, in rpcb_create_local_unix()
286 .address = (struct sockaddr *)&rpcb_inaddr_loopback, in rpcb_create_local_net()
355 .address = srvaddr, in rpcb_create()
570 const struct sockaddr *address, const char *netid) in rpcb_v4_register() argument
586 if (address == NULL) in rpcb_v4_register()
589 switch (address->sa_family) { in rpcb_v4_register()
591 return rpcb_register_inet4(sn, address, &msg); in rpcb_v4_register()
593 return rpcb_register_inet6(sn, address, &msg); in rpcb_v4_register()
918 struct sockaddr_storage address; in rpcb_dec_getaddr() local
919 struct sockaddr *sap = (struct sockaddr *)&address; in rpcb_dec_getaddr()
[all …]
Dsvcauth_unix.c176 } address; in ip_map_parse() local
196 if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) in ip_map_parse()
198 switch (address.sa.sa_family) { in ip_map_parse()
202 ipv6_addr_set_v4mapped(address.s4.sin_addr.s_addr, in ip_map_parse()
207 memcpy(&sin6, &address.s6, sizeof(sin6)); in ip_map_parse()
Dclnt.c407 .dstaddr = args->address, in rpc_create()
424 (struct sockaddr_un *)args->address; in rpc_create()
426 (struct sockaddr_in *)args->address; in rpc_create()
428 (struct sockaddr_in6 *)args->address; in rpc_create()
431 switch (args->address->sa_family) { in rpc_create()
1110 struct sockaddr_storage address; in rpc_localaddr() local
1111 struct sockaddr *sap = (struct sockaddr *)&address; in rpc_localaddr()
/net/ipv6/netfilter/
DKconfig53 tristate '"eui64" address check'
56 This module performs checking on the IPv6 source address
58 from the MAC address) address
206 changed to seem to come from a particular interface's address, and
208 only useful for dialup accounts with dynamic IP address (ie. your IP
209 address will be different on next dialup).
/net/core/
Diovec.c38 int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode) in verify_iovec() argument
47 address); in verify_iovec()
51 m->msg_name = address; in verify_iovec()
/net/bridge/netfilter/
DKconfig42 source address (MAC SNAT) or the MAC destination address (MAC DNAT).
60 and/or destination address on a list of addresses. Optionally,
61 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
151 destination address of frames.
169 destination address of a frame to that of the device it arrived on.
177 source address of frames.
/net/
Dsocket.c1514 struct sockaddr_storage address; in SYSCALL_DEFINE3() local
1519 err = move_addr_to_kernel(umyaddr, addrlen, &address); in SYSCALL_DEFINE3()
1522 (struct sockaddr *)&address, in SYSCALL_DEFINE3()
1527 &address, addrlen); in SYSCALL_DEFINE3()
1579 struct sockaddr_storage address; in SYSCALL_DEFINE4() local
1628 if (newsock->ops->getname(newsock, (struct sockaddr *)&address, in SYSCALL_DEFINE4()
1633 err = move_addr_to_user(&address, in SYSCALL_DEFINE4()
1676 struct sockaddr_storage address; in SYSCALL_DEFINE3() local
1682 err = move_addr_to_kernel(uservaddr, addrlen, &address); in SYSCALL_DEFINE3()
1687 security_socket_connect(sock, (struct sockaddr *)&address, addrlen); in SYSCALL_DEFINE3()
[all …]
/net/ipv6/
DKconfig29 pseudo-random global-scope unicast address(es) will be assigned to
226 bool "IPv6: source address based routing"
229 Enable routing by source address or prefix.
231 The destination address is still the primary routing key, so mixing
/net/netfilter/ipvs/
DKconfig13 single IP address and scheduling them to real servers.
160 This algorithm usually directs packet destined for an IP address to
164 least-connection server to this IP address.
256 FTP is a protocol that transfers IP address and/or port number in
258 the IP address and port number of real servers cannot be sent to
/net/ipv4/
DKconfig40 for their source address doesn't match the network interface they're
71 solely on the packet's final destination address. If you say Y here,
73 address into account. Furthermore, the TOS (Type-Of-Service) field
127 net via NFS and you want the IP address of your computer to be
144 net via NFS and you want the IP address of your computer to be
159 net via NFS and you want the IP address of your computer to be
272 frames are sent to the proper address on the physical networking
278 address resolution protocol (e.g. NHRP on mGRE tunnels) and also for
300 If you are SYN flooded, the source address reported by the kernel is
/net/dns_resolver/
DKconfig13 being resolving a UNC hostname element to an IP address for CIFS or
/net/ipv4/netfilter/
DKconfig153 changed to seem to come from a particular interface's address, and
155 only useful for dialup accounts with dynamic IP address (ie. your IP
156 address will be different on next dialup).
/net/atm/
Datm_sysfs.c98 static DEVICE_ATTR(address, S_IRUGO, show_address, NULL);
/net/bluetooth/
Dhci_sysfs.c61 static LINK_ATTR(address, S_IRUGO, show_link_address, NULL);
348 static DEVICE_ATTR(address, S_IRUGO, show_address, NULL);

12