Searched refs:netmask (Results 51 - 73 of 73) sorted by relevance

123

/freebsd-11-stable/contrib/netbsd-tests/net/net/
H A Dt_forwarding.sh96 atf_check -s exit:0 rump.ifconfig shmif0 inet ${addr} netmask 0xffffff00
136 atf_check -s exit:0 rump.ifconfig shmif0 inet ${IP4SRCGW} netmask 0xffffff00
137 atf_check -s exit:0 rump.ifconfig shmif1 inet ${IP4DSTGW} netmask 0xffffff00
/freebsd-11-stable/stand/libsa/
H A Dip.c122 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask))
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Difiter_getifaddrs.c221 get_addr(family, &iter->current.netmask, ifa->ifa_netmask,
H A Difiter_sysctl.c264 get_addr(family, &iter->current.netmask, mask_sa,
H A Dinterfaceiter.c255 isc_netaddr_fromin6(&iter->current.netmask, &addr6);
/freebsd-11-stable/contrib/netbsd-tests/net/if_gif/
H A Dt_gif.sh82 atf_check -s exit:0 rump.ifconfig shmif0 inet ${lan} netmask 0xffffff00
90 atf_check -s exit:0 rump.ifconfig shmif1 inet ${wan} netmask 0xff000000
/freebsd-11-stable/usr.sbin/ppp/
H A Dipcp.c466 ipcp->cfg.netmask.s_addr = INADDR_ANY;
472 ncprange_setip4(&ipcp->cfg.my_range, host, ipcp->cfg.netmask);
473 ncprange_setip4(&ipcp->cfg.peer_range, ipcp->cfg.netmask, ipcp->cfg.netmask);
532 ipcp->ifmask.s_addr = mask == INADDR_NONE ? ipcp->cfg.netmask.s_addr : mask;
H A Dradius.c1074 /* Fetch IP, netmask from IPCP */
1077 struct in_addr *netmask)
1081 memcpy(&ac->peer.ip.mask, netmask, sizeof(ac->peer.ip.mask));
1076 radius_Account_Set_Ip(struct radacct *ac, struct in_addr *peer_ip, struct in_addr *netmask) argument
H A Dcommand.c1575 ncp->ipcp.cfg.netmask.s_addr = INADDR_ANY;
1584 ncp->ipcp.ifmask = ncp->ipcp.cfg.netmask =
2408 "set ifaddr [src-addr [dst-addr [netmask [trg-addr]]]]", NULL},
/freebsd-11-stable/contrib/tcpdump/
H A Dtcpdump.c1142 bpf_u_int32 localnet =0 , netmask = 0; local
1793 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
1807 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0)
1822 init_print(ndo, localnet, netmask, timezone_offset);
2144 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0)
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-rpcap.c2336 free(addr->netmask);
2519 addr->netmask = NULL;
2529 if (rpcap_deseraddr(&ifaddr.netmask,
2530 (struct sockaddr_storage **) &addr->netmask, errbuf) == -1)
2548 if ((addr->addr == NULL) && (addr->netmask == NULL) &&
H A Dgencode.c260 bpf_u_int32 netmask; member in struct:_compiler_state
767 cstate.netmask = mask;
7967 * We treat a netmask of PCAP_NETMASK_UNKNOWN (0xffffffff)
7968 * as an indication that we don't know the netmask, and fail
7971 if (cstate->netmask == PCAP_NETMASK_UNKNOWN)
7972 bpf_error(cstate, "netmask not known, so 'ip broadcast' not supported");
7974 hostmask = ~cstate->netmask;
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c150 void *netmask; member in struct:rtmaddr_ifamap
783 if (ifamap.netmask) {
788 ifa_make_sockaddr(nlm_family, ifa->ifa_netmask, ifamap.netmask, ifamap.netmask_len,
1293 print_addr("netmask", p->ifa_netmask);
/freebsd-11-stable/sys/dev/sfxge/common/
H A Def10_tlv_layout.h843 uint32_t netmask; member in struct:tlv_tsan_config
/freebsd-11-stable/contrib/libpcap/pcap/
H A Dpcap.h278 struct sockaddr *netmask; /* netmask for that address */ member in struct:pcap_addr
315 * Value to pass to pcap_compile() as the netmask if you don't know what
316 * the netmask is.
/freebsd-11-stable/usr.sbin/rarpd/
H A Drarpd.c631 * is on network 'net'; 'netmask' is a mask indicating the network portion
635 choose_ipaddr(in_addr_t **alist, in_addr_t net, in_addr_t netmask) argument
639 if ((**alist & netmask) == net)
887 * Get the netmask of an IP address. This routine is used if
/freebsd-11-stable/sbin/dhclient/
H A Ddhclient.c2079 struct iaddr netmask, subnet, broadcast; local
2081 memcpy(netmask.iabuf, dp, len);
2082 netmask.len = len;
2083 subnet = subnet_number(lease->address, netmask);
2088 broadcast = broadcast_addr(subnet, netmask);
/freebsd-11-stable/contrib/netbsd-tests/net/if_bridge/
H A Dt_bridge.sh91 atf_check -s exit:0 rump.ifconfig shmif0 inet ${addr} netmask 0xffffff00
/freebsd-11-stable/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh276 # netmask
277 atf_check -s exit:0 rump.ifconfig shmif0 inet 172.16.0.1 netmask 255.255.255.0 alias
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_t3_cpl.h1481 __be32 netmask; member in struct:cpl_rte_write_req
/freebsd-11-stable/contrib/libpcap/rpcapd/
H A Ddaemon.c1484 daemon_seraddr((struct sockaddr_storage *) address->netmask, sockaddr);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_io.c1422 NSRCADR(&itf->mask) = isc_if->netmask.type.in.s_addr;
1433 SET_ADDR6N(&itf->mask, isc_if->netmask.type.in6);
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_msg.h2222 __be32 netmask; member in struct:cpl_rte_write_req

Completed in 327 milliseconds

123