HomeSort by: relevance | last modified time | path
    Searched defs:net (Results 1 - 25 of 44) sorted by relevancy

1 2

  /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));
  /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
291 if (np->n_addrtype == type && np->n_net == net)
310 uint32_t net = va_arg(ap, uint32_t); local
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
543 for (r = 4, net2 = net; net2; net2 >>= 8
    [all...]
  /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...]
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
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
220 EFI_SIMPLE_NETWORK *net; local
281 EFI_SIMPLE_NETWORK *net; local
324 EFI_SIMPLE_NETWORK *net; local
437 EFI_SIMPLE_NETWORK *net; local
    [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...]
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
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
252 EFI_SIMPLE_NETWORK *net; local
315 EFI_SIMPLE_NETWORK *net; local
331 EFI_SIMPLE_NETWORK *net; local
453 EFI_SIMPLE_NETWORK *net; local
496 EFI_SIMPLE_NETWORK *net; local
    [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...]
  /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)) {
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...]
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
370 memcpy(&net, ea->aarp_tpnet, sizeof(net));
372 if (net != 0) { /* should be ATADDR_ANYNET? */
375 sat.sat_addr.s_net = net;
    [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
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...]
  /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
    [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
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
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
  /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);
  /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);
  /src/lib/libc/resolv/
res_init.c 220 char *net; local
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
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
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
  /src/sys/netinet6/
sctp6_usrreq.c 59 #include <net/if.h>
60 #include <net/route.h>
61 #include <net/if_types.h>
90 #include <net/if_faith.h>
117 struct sctp_nets *net; local
184 sh, ch, &in6p, &net);
187 sctp_send_packet_dropped(stcb, net, m, iphlen, 1);
200 net = NULL;
211 sh, ch, &in6p, &net);
279 in6p, stcb, net, ecn_bits)
437 struct sctp_nets *net; local
507 struct sctp_nets *net; local
1071 struct sctp_nets *net; local
1131 struct sctp_nets *net; local
    [all...]
  /src/usr.bin/netstat/
inet.c 51 #include <net/if_arp.h>
52 #include <net/route.h>
241 if (asprintf(&mibname, "net.inet%s.%s.pcblist", name + 3, name) == -1)
407 if (prog_sysctlbyname("net.inet.tcp.stats", tcpstat, &size,
549 if (prog_sysctlbyname("net.inet.udp.stats", udpstat, &size,
603 if (prog_sysctlbyname("net.inet.ip.stats", ipstat, &size,
696 if (prog_sysctlbyname("net.inet.icmp.stats", icmpstat, &size,
754 if (prog_sysctlbyname("net.inet.igmp.stats", igmpstat, &size,
801 if (prog_sysctlbyname("net.inet.carp.stats", carpstat, &size,
897 if (prog_sysctlbyname("net.inet.arp.stats", arpstat, &size
1009 int net = inet_netof(*inp); local
    [all...]

Completed in 42 milliseconds

1 2