Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 5 of 5) sorted by relevance

/mOS-networking-stack/samples/simple_firewall/
H A Dsimple_firewall.c176 int netmask = 32; in ExtractIPAddress() local
201 netmask = atoi(buf); in ExtractIPAddress()
202 if (netmask < 0 || netmask > 32) in ExtractIPAddress()
204 (*addr) = IP_NETMASK((*addr), netmask); in ExtractIPAddress()
212 (*addrmask) = netmask; in ExtractIPAddress()
292 MatchAddr(in_addr_t ip, in_addr_t fw_ip, int netmask) in MatchAddr() argument
294 ip = IP_NETMASK(ip, netmask); in MatchAddr()
/mOS-networking-stack/core/src/include/
H A Dconfig.h59 uint32_t netmask; member
H A Dmtcp.h152 uint32_t netmask; member
/mOS-networking-stack/core/src/
H A Dconfig.c268 ent->netmask = *(uint32_t *)&sin; in FeedNetdevConfLine()
/mOS-networking-stack/core/src/bpf/
H A Dsf_gencode.c384 static __thread bpf_u_int32 netmask; variable
412 netmask = mask; in pcap_compile()
7096 if (netmask == PCAP_NETMASK_UNKNOWN)
7099 hostmask = ~netmask;