/src/sys/arch/sparc/stand/boot/ |
Makefile | 4 PROGSOURCE= boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c \ 7 FILES= boot.net bootjs.net ${RELOCS:S/^/boot./g} 45 boot.net: boot.${RELOC_DEFAULT} 53 bootjs.net: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} 57 CLEANFILES+= bootjs.net.map
|
/src/lib/libc/compat/net/ |
compat_ns_ntoa.c | 53 union { union ns_net net_e; uint32_t long_e; } net; local in function:ns_ntoa 60 net.net_e = addr.x_net; 61 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);
|
getnetnamadr.c | 284 uint32_t net = va_arg(ap, uint32_t); local in function:_files_getnetbyaddr 291 if (np->n_addrtype == type && np->n_net == net) 310 uint32_t net = va_arg(ap, uint32_t); local in function:_dns_getnetbyaddr 324 for (nn = 4, net2 = net; net2; net2 >>= 8) 370 /* maybe net should be unsigned? */ 371 uint32_t u_net = net; 389 getnetbyaddr(uint32_t net, int net_type) 404 __nsdefaultsrc, &retval, net, net_type); 523 uint32_t net = va_arg(ap, uint32_t); local in function:_yp_getnetbyaddr 543 for (r = 4, net2 = net; net2; net2 >>= 8 [all...] |
/src/share/examples/amd/ |
amd.conf | 4 # Goes into /etc, while cd & net go into /etc/amd (or change paths below). 14 [ /net ] 15 map_name = /etc/amd/net
|
/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 in function:ddp_route 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 in function:at_ifinit 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...] |
ddp_usrreq.c | 47 #include <net/if.h> 48 #include <net/route.h> 49 #include <net/if_ether.h> 50 #include <net/net_stats.h> 191 u_short hintnet = 0, net; local in function:at_pcbconnect 219 net = hintnet; 221 net = sat->sat_addr.s_net; 226 ntohs(net) >= ntohs(aa->aa_firstnet) && 227 ntohs(net) <= ntohs(aa->aa_lastnet)) { 673 SYSCTL_SETUP(sysctl_net_atalk_ddp_setup, "sysctl net.atalk.ddp subtree setup" [all...] |
aarp.c | 45 #include <net/if.h> 46 #include <net/route.h> 47 #include <net/if_ether.h> 48 #include <net/if_dl.h> 193 * net is phase 2, generate an 802.2 and SNAP header. 352 u_int16_t net; local in function:at_aarpinput 370 memcpy(&net, ea->aarp_tpnet, sizeof(net)); 372 if (net != 0) { /* should be ATADDR_ANYNET? */ 375 sat.sat_addr.s_net = net; [all...] |
/src/sys/arch/i386/stand/efiboot/ |
efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local in function:efi_pxe_probe 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...] |
efinet.c | 37 #include <lib/libsa/net.h> 56 EFI_SIMPLE_NETWORK *net; member in struct:efinetinfo 75 .netif_bname = "net", 143 EFI_SIMPLE_NETWORK *net; local in function:efinet_put 149 net = eni->net; 151 status = uefi_call_wrapper(net->Transmit, 7, net, 0, (UINTN)len, pkt, NULL, 159 status = uefi_call_wrapper(net->GetStatus, 3, net, NULL, &buf) 175 EFI_SIMPLE_NETWORK *net; local in function:efinet_get 220 EFI_SIMPLE_NETWORK *net; local in function:efinet_init 281 EFI_SIMPLE_NETWORK *net; local in function:efinet_end 324 EFI_SIMPLE_NETWORK *net; local in function:efi_net_probe 437 EFI_SIMPLE_NETWORK *net; local in function:efi_net_show [all...] |
/src/sys/stand/efiboot/ |
efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local in function:efi_pxe_probe 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...] |
efinet.c | 35 #include <lib/libsa/net.h> 54 EFI_SIMPLE_NETWORK *net; member in struct:efinetinfo 75 .netif_bname = "net", 170 EFI_SIMPLE_NETWORK *net; local in function:efinet_put 177 net = eni->net; 182 status = uefi_call_wrapper(net->Transmit, 7, net, 0, (UINTN)len, ptr, NULL, 190 status = uefi_call_wrapper(net->GetStatus, 3, net, NULL, &buf) 206 EFI_SIMPLE_NETWORK *net; local in function:efinet_get 252 EFI_SIMPLE_NETWORK *net; local in function:efinet_init 315 EFI_SIMPLE_NETWORK *net; local in function:efinet_end 331 EFI_SIMPLE_NETWORK *net; local in function:efi_net_probe 453 EFI_SIMPLE_NETWORK *net; local in function:efi_net_show 496 EFI_SIMPLE_NETWORK *net; local in function:efi_net_get_booted_macaddr [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 in function:efinet_put 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 in function:efinet_get 154 net = nif->nif_devdata 183 EFI_SIMPLE_NETWORK *net; local in function:efinet_init 276 EFI_SIMPLE_NETWORK *net = nif->nif_devdata; local in function:efinet_end [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...] |
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 in function:get_subnet_route [all...] |
dhcpcd.h | 32 #include <net/if.h> 103 struct in_addr net; member in struct:interface
|
/src/games/sail/ |
misc.c | 202 float net; local in function:logger 215 net = (float)s->file->points / s->specs->pts; 227 if (net > (float)lp->l_netpoints
|
dr_1.c | 414 float net, best = 0.0; local in function:next 418 net = (float)s->file->points / s->specs->pts; 419 if (net > best) { 420 best = net;
|
/src/libexec/telnetd/ |
global.c | 88 int pty, net; variable in typeref:typename:int
|
/src/usr.bin/telnet/ |
sys_bsd.c | 74 net; variable in typeref:typename:int 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);
|
/src/usr.bin/getnameinfo/ |
getnameinfo.c | 45 #include <net/if_dl.h> 259 int net, node, port; local in function:parse_atalk 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/lib/libc/resolv/ |
res_init.c | 220 char *net; local in function:__res_vinit 468 net = cp; 474 if (inet_aton(net, &a)) { 478 net = cp; 485 if (inet_aton(net, &a)) {
|
/src/lib/libwrap/ |
hosts_access.c | 326 } else if ((mask = split_at(tok, '/')) != 0) { /* net/mask */ 437 unsigned long net; local in function:masked_match4 449 if (dot_quad_addr(net_tok, &net) != 0 || 451 tcpd_warn("bad net/mask expression: %s/%s", net_tok, mask_tok); 455 if ((net & ~mask) != 0) 458 return ((addr & mask) == net); 469 } net, mask, addr; local in function:masked_match6 482 if (res->ai_addrlen > sizeof(net) || res->ai_next) { 486 memcpy(&net, res->ai_addr, res->ai_addrlen); 492 hints.ai_family = net.sa.sa_family [all...] |
/src/usr.sbin/timed/timed/ |
globals.h | 128 struct in_addr net; member in struct:netinfo
|