| /src/lib/libc/compat/net/ |
| compat_ns_ntoa.c | 54 union { union ns_net net_e; uint32_t long_e; } net; local 61 net.net_e = addr.x_net; 62 sprintf(obuf, "%x", ntohl(net.long_e));
|
| compat_ns_ntoa.c | 54 union { union ns_net net_e; uint32_t long_e; } net; local 61 net.net_e = addr.x_net; 62 sprintf(obuf, "%x", ntohl(net.long_e));
|
| /src/lib/libc/net/ |
| getnetent.c | 70 static struct netent net; variable in typeref:struct:netent 125 net.__n_pad0 = 0; 137 net.n_name = p; 147 net.n_net = inet_network(cp); 148 net.n_addrtype = AF_INET; 149 q = net.n_aliases = net_aliases; 165 return (&net);
|
| getnetent.c | 70 static struct netent net; variable in typeref:struct:netent 125 net.__n_pad0 = 0; 137 net.n_name = p; 147 net.n_net = inet_network(cp); 148 net.n_addrtype = AF_INET; 149 q = net.n_aliases = net_aliases; 165 return (&net);
|
| /src/sys/arch/i386/stand/efiboot/ |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| /src/sys/stand/efiboot/ |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| /src/sys/arch/ia64/stand/efi/libefi/ |
| efinet.c | 36 #include <lib/libsa/net.h> 56 "net", /* netif_bname */ 119 EFI_SIMPLE_NETWORK *net; local 123 net = nif->nif_devdata; 125 status = net->Transmit(net, 0, len, pkt, 0, 0, 0); 132 status = net->GetStatus(net, 0, &buf); 148 EFI_SIMPLE_NETWORK *net; local 154 net = nif->nif_devdata 183 EFI_SIMPLE_NETWORK *net; local 276 EFI_SIMPLE_NETWORK *net = nif->nif_devdata; local [all...] |
| efinet.c | 36 #include <lib/libsa/net.h> 56 "net", /* netif_bname */ 119 EFI_SIMPLE_NETWORK *net; local 123 net = nif->nif_devdata; 125 status = net->Transmit(net, 0, len, pkt, 0, 0, 0); 132 status = net->GetStatus(net, 0, &buf); 148 EFI_SIMPLE_NETWORK *net; local 154 net = nif->nif_devdata 183 EFI_SIMPLE_NETWORK *net; local 276 EFI_SIMPLE_NETWORK *net = nif->nif_devdata; local [all...] |
| /src/sys/netatalk/ |
| ddp_output.c | 40 #include <net/if.h> 41 #include <net/route.h> 42 #include <net/if_ether.h> 124 uint16_t net; local 132 net = satosat(rt->rt_gateway)->sat_addr.s_net; 135 if (ntohs(net) >= ntohs(aa->aa_firstnet) && 136 ntohs(net) <= ntohs(aa->aa_lastnet)) {
|
| ddp_output.c | 40 #include <net/if.h> 41 #include <net/route.h> 42 #include <net/if_ether.h> 124 uint16_t net; local 132 net = satosat(rt->rt_gateway)->sat_addr.s_net; 135 if (ntohs(net) >= ntohs(aa->aa_firstnet) && 136 ntohs(net) <= ntohs(aa->aa_lastnet)) {
|
| at_control.c | 44 #include <net/if.h> 45 #include <net/route.h> 46 #include <net/if_ether.h> 389 u_short net; local 421 * that phase 1 probes use only nodes, not net.node pairs. Under 422 * phase 2, both the net and node must be the same. 441 * We will probe this address on the net first, before 444 * in this net and then increment the net. etc.etc. until 452 * If we are phase 2, and the net was no [all...] |
| at_control.c | 44 #include <net/if.h> 45 #include <net/route.h> 46 #include <net/if_ether.h> 389 u_short net; local 421 * that phase 1 probes use only nodes, not net.node pairs. Under 422 * phase 2, both the net and node must be the same. 441 * We will probe this address on the net first, before 444 * in this net and then increment the net. etc.etc. until 452 * If we are phase 2, and the net was no [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| net.h | 35 #include <net/if.h> 83 struct in_addr net; member in struct:rt 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) \ 120 do_address(iface, addr, net, NULL, 0) 121 #define get_address(iface, addr, net, dst) \ 122 do_address(iface, addr, net, dst, 1 [all...] |
| net.h | 35 #include <net/if.h> 83 struct in_addr net; member in struct:rt 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) \ 120 do_address(iface, addr, net, NULL, 0) 121 #define get_address(iface, addr, net, dst) \ 122 do_address(iface, addr, net, dst, 1 [all...] |
| configure.c | 48 #include "net.h" 77 rt->net.s_addr == r->net.s_addr) 93 addr, inet_ntocidr(rt->net)); 95 rt->net.s_addr == INADDR_BROADCAST) 98 else if (rt->dest.s_addr == INADDR_ANY && rt->net.s_addr == INADDR_ANY) 103 addr, inet_ntocidr(rt->net), inet_ntoa(rt->gate)); 130 rt->net.s_addr == 0 && 135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric)) 139 if (rt->dest.s_addr == (iface->addr.s_addr & iface->net.s_addr) & 188 struct in_addr net; local [all...] |
| configure.c | 48 #include "net.h" 77 rt->net.s_addr == r->net.s_addr) 93 addr, inet_ntocidr(rt->net)); 95 rt->net.s_addr == INADDR_BROADCAST) 98 else if (rt->dest.s_addr == INADDR_ANY && rt->net.s_addr == INADDR_ANY) 103 addr, inet_ntocidr(rt->net), inet_ntoa(rt->gate)); 130 rt->net.s_addr == 0 && 135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric)) 139 if (rt->dest.s_addr == (iface->addr.s_addr & iface->net.s_addr) & 188 struct in_addr net; local [all...] |
| /src/games/sail/ |
| misc.c | 202 float net; local 215 net = (float)s->file->points / s->specs->pts; 227 if (net > (float)lp->l_netpoints
|
| misc.c | 202 float net; local 215 net = (float)s->file->points / s->specs->pts; 227 if (net > (float)lp->l_netpoints
|
| /src/libexec/telnetd/ |
| global.c | 88 int pty, net; variable
|
| global.c | 88 int pty, net; variable
|
| /src/usr.bin/getnameinfo/ |
| getnameinfo.c | 45 #include <net/if_dl.h> 259 int net, node, port; local 261 if (sscanf(address, "%d:%d:%d", &net, &node, &port) != 3) 264 if (net < 0 || net > 0xFFFF || node < 0 || node > 0xFF || 268 addr_at->sat_addr.s_net = htons((u_short)net);
|
| getnameinfo.c | 45 #include <net/if_dl.h> 259 int net, node, port; local 261 if (sscanf(address, "%d:%d:%d", &net, &node, &port) != 3) 264 if (net < 0 || net > 0xFFFF || node < 0 || node > 0xFF || 268 addr_at->sat_addr.s_net = htons((u_short)net);
|
| /src/usr.bin/telnet/ |
| sys_bsd.c | 74 net; variable 534 ioctl(net, FIONBIO, &one); 535 if (setsockopt(net, SOL_SOCKET, SO_OOBINLINE, &one, sizeof(one)) == -1) { 565 set[0].fd = net; 605 c = recv(net, (char *)netiring.supply, canread, 0); 639 shutdown(net, 1);
|