netmask 60 arch/mips/include/asm/lasat/lasat.h unsigned int netmask; netmask 85 arch/mips/include/asm/lasat/lasat.h unsigned int netmask; netmask 198 arch/mips/lasat/sysctl.c .data = &lasat_board_info.li_eeprom_info.netmask, netmask 841 arch/um/drivers/net_kern.c unsigned char address[4], netmask[4]; netmask 847 arch/um/drivers/net_kern.c memcpy(netmask, &in->ifa_mask, sizeof(netmask)); netmask 848 arch/um/drivers/net_kern.c (*cb)(address, netmask, arg); netmask 207 arch/um/drivers/net_user.c unsigned char *netmask) netmask 219 arch/um/drivers/net_user.c sprintf(netmask_buf, "%d.%d.%d.%d", netmask[0], netmask[1], netmask 220 arch/um/drivers/net_user.c netmask[2], netmask[3]); netmask 240 arch/um/drivers/net_user.c void open_addr(unsigned char *addr, unsigned char *netmask, void *arg) netmask 242 arch/um/drivers/net_user.c change(arg, "add", addr, netmask); netmask 245 arch/um/drivers/net_user.c void close_addr(unsigned char *addr, unsigned char *netmask, void *arg) netmask 247 arch/um/drivers/net_user.c change(arg, "del", addr, netmask); netmask 38 arch/um/drivers/pcap_user.c __u32 netmask; netmask 45 arch/um/drivers/pcap_user.c err = dev_netmask(pri->dev, &netmask); netmask 60 arch/um/drivers/pcap_user.c pri->filter, pri->optimize, netmask); netmask 222 arch/um/drivers/slip_user.c static void slip_add_addr(unsigned char *addr, unsigned char *netmask, netmask 229 arch/um/drivers/slip_user.c open_addr(addr, netmask, pri->name); netmask 232 arch/um/drivers/slip_user.c static void slip_del_addr(unsigned char *addr, unsigned char *netmask, netmask 239 arch/um/drivers/slip_user.c close_addr(addr, netmask, pri->name); netmask 46 arch/um/include/shared/net_user.h extern void open_addr(unsigned char *addr, unsigned char *netmask, void *arg); netmask 47 arch/um/include/shared/net_user.h extern void close_addr(unsigned char *addr, unsigned char *netmask, void *arg); netmask 33 arch/um/os-Linux/drivers/ethertap_user.c unsigned char netmask[4]; netmask 36 arch/um/os-Linux/drivers/ethertap_user.c static void etap_change(int op, unsigned char *addr, unsigned char *netmask, netmask 45 arch/um/os-Linux/drivers/ethertap_user.c memcpy(change.netmask, netmask, sizeof(change.netmask)); netmask 64 arch/um/os-Linux/drivers/ethertap_user.c static void etap_open_addr(unsigned char *addr, unsigned char *netmask, netmask 67 arch/um/os-Linux/drivers/ethertap_user.c etap_change(ADD_ADDR, addr, netmask, *((int *) arg)); netmask 70 arch/um/os-Linux/drivers/ethertap_user.c static void etap_close_addr(unsigned char *addr, unsigned char *netmask, netmask 73 arch/um/os-Linux/drivers/ethertap_user.c etap_change(DEL_ADDR, addr, netmask, *((int *) arg)); netmask 217 arch/um/os-Linux/drivers/ethertap_user.c static void etap_add_addr(unsigned char *addr, unsigned char *netmask, netmask 225 arch/um/os-Linux/drivers/ethertap_user.c etap_open_addr(addr, netmask, &pri->control_fd); netmask 228 arch/um/os-Linux/drivers/ethertap_user.c static void etap_del_addr(unsigned char *addr, unsigned char *netmask, netmask 236 arch/um/os-Linux/drivers/ethertap_user.c etap_close_addr(addr, netmask, &pri->control_fd); netmask 28 arch/um/os-Linux/drivers/tuntap_user.c static void tuntap_add_addr(unsigned char *addr, unsigned char *netmask, netmask 36 arch/um/os-Linux/drivers/tuntap_user.c open_addr(addr, netmask, pri->dev_name); netmask 39 arch/um/os-Linux/drivers/tuntap_user.c static void tuntap_del_addr(unsigned char *addr, unsigned char *netmask, netmask 46 arch/um/os-Linux/drivers/tuntap_user.c close_addr(addr, netmask, pri->dev_name); netmask 601 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u32 netmask; netmask 1376 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be32 netmask; netmask 394 drivers/s390/net/qeth_l3_main.c static void qeth_l3_fill_netmask(u8 *netmask, unsigned int len) netmask 400 drivers/s390/net/qeth_l3_main.c netmask[i] = 0xff; netmask 402 drivers/s390/net/qeth_l3_main.c netmask[i] = (u8)(0xFF00 >> j); netmask 404 drivers/s390/net/qeth_l3_main.c netmask[i] = 0; netmask 427 drivers/s390/net/qeth_l3_main.c __u8 netmask[16]; netmask 444 drivers/s390/net/qeth_l3_main.c qeth_l3_fill_netmask(netmask, addr->u.a6.pfxlen); netmask 445 drivers/s390/net/qeth_l3_main.c memcpy(cmd->data.setdelip6.mask, netmask, netmask 600 fs/afs/cmservice.c __be32 netmask[32]; netmask 584 include/net/ip_vs.h __be32 netmask; /* persistent netmask or plen */ netmask 626 include/net/ip_vs.h __be32 netmask; /* grouping granularity, mask/plen */ netmask 102 include/uapi/linux/atmbr2684.h __be32 netmask; /* 0 = disable filter */ netmask 155 include/uapi/linux/ip_vs.h __be32 netmask; /* persistent netmask */ netmask 217 include/uapi/linux/ip_vs.h __be32 netmask; /* persistent netmask */ netmask 393 net/atm/br2684.c if (brvcc->filter.netmask == 0) netmask 397 net/atm/br2684.c netmask) == brvcc->filter.prefix) netmask 805 net/atm/br2684.c if (brvcc->filter.netmask != 0) netmask 808 net/atm/br2684.c &brvcc->filter.netmask); netmask 46 net/netfilter/ipset/ip_set_bitmap_ip.c u8 netmask; /* subnet netmask */ netmask 61 net/netfilter/ipset/ip_set_bitmap_ip.c return ((ip & ip_set_hostmask(m->netmask)) - m->first_ip) / m->hosts; netmask 105 net/netfilter/ipset/ip_set_bitmap_ip.c (map->netmask != 32 && netmask 106 net/netfilter/ipset/ip_set_bitmap_ip.c nla_put_u8(skb, IPSET_ATTR_NETMASK, map->netmask)); netmask 204 net/netfilter/ipset/ip_set_bitmap_ip.c x->netmask == y->netmask && netmask 221 net/netfilter/ipset/ip_set_bitmap_ip.c u32 elements, u32 hosts, u8 netmask) netmask 230 net/netfilter/ipset/ip_set_bitmap_ip.c map->netmask = netmask; netmask 247 net/netfilter/ipset/ip_set_bitmap_ip.c u8 netmask = 32; netmask 276 net/netfilter/ipset/ip_set_bitmap_ip.c netmask = nla_get_u8(tb[IPSET_ATTR_NETMASK]); netmask 278 net/netfilter/ipset/ip_set_bitmap_ip.c if (netmask > HOST_MASK) netmask 281 net/netfilter/ipset/ip_set_bitmap_ip.c first_ip &= ip_set_hostmask(netmask); netmask 282 net/netfilter/ipset/ip_set_bitmap_ip.c last_ip |= ~ip_set_hostmask(netmask); netmask 285 net/netfilter/ipset/ip_set_bitmap_ip.c if (netmask == 32) { netmask 295 net/netfilter/ipset/ip_set_bitmap_ip.c netmask <= mask_bits) netmask 298 net/netfilter/ipset/ip_set_bitmap_ip.c pr_debug("mask_bits %u, netmask %u\n", mask_bits, netmask); netmask 299 net/netfilter/ipset/ip_set_bitmap_ip.c hosts = 2 << (32 - netmask - 1); netmask 300 net/netfilter/ipset/ip_set_bitmap_ip.c elements = 2 << (netmask - mask_bits - 1); netmask 316 net/netfilter/ipset/ip_set_bitmap_ip.c elements, hosts, netmask)) { netmask 328 net/netfilter/ipset/ip_set_hash_gen.h u8 netmask; /* netmask value for subnets to store */ netmask 504 net/netfilter/ipset/ip_set_hash_gen.h x->netmask == y->netmask && netmask 1300 net/netfilter/ipset/ip_set_hash_gen.h if (h->netmask != HOST_MASK && netmask 1301 net/netfilter/ipset/ip_set_hash_gen.h nla_put_u8(skb, IPSET_ATTR_NETMASK, h->netmask)) netmask 1460 net/netfilter/ipset/ip_set_hash_gen.h u8 netmask; netmask 1498 net/netfilter/ipset/ip_set_hash_gen.h netmask = set->family == NFPROTO_IPV4 ? 32 : 128; netmask 1500 net/netfilter/ipset/ip_set_hash_gen.h netmask = nla_get_u8(tb[IPSET_ATTR_NETMASK]); netmask 1502 net/netfilter/ipset/ip_set_hash_gen.h if ((set->family == NFPROTO_IPV4 && netmask > 32) || netmask 1503 net/netfilter/ipset/ip_set_hash_gen.h (set->family == NFPROTO_IPV6 && netmask > 128) || netmask 1504 net/netfilter/ipset/ip_set_hash_gen.h netmask == 0) netmask 1545 net/netfilter/ipset/ip_set_hash_gen.h h->netmask = netmask; netmask 88 net/netfilter/ipset/ip_set_hash_ip.c ip &= ip_set_netmask(h->netmask); netmask 121 net/netfilter/ipset/ip_set_hash_ip.c ip &= ip_set_hostmask(h->netmask); netmask 144 net/netfilter/ipset/ip_set_hash_ip.c hosts = h->netmask == 32 ? 1 : 2 << (32 - h->netmask - 1); netmask 224 net/netfilter/ipset/ip_set_hash_ip.c hash_ip6_netmask(&e.ip, h->netmask); netmask 263 net/netfilter/ipset/ip_set_hash_ip.c hash_ip6_netmask(&e.ip, h->netmask); netmask 293 net/netfilter/ipvs/ip_vs_core.c (__force __u32) svc->netmask); netmask 296 net/netfilter/ipvs/ip_vs_core.c snet.ip = src_addr->ip & svc->netmask; netmask 1180 net/netfilter/ipvs/ip_vs_core.c (__force __u32)svc->netmask); netmask 1183 net/netfilter/ipvs/ip_vs_core.c snet.ip = caddr->ip & svc->netmask; netmask 1303 net/netfilter/ipvs/ip_vs_ctl.c __u32 plen = (__force __u32) u->netmask; netmask 1345 net/netfilter/ipvs/ip_vs_ctl.c svc->netmask = u->netmask; netmask 1439 net/netfilter/ipvs/ip_vs_ctl.c __u32 plen = (__force __u32) u->netmask; netmask 1471 net/netfilter/ipvs/ip_vs_ctl.c svc->netmask = u->netmask; netmask 2162 net/netfilter/ipvs/ip_vs_ctl.c ntohl(svc->netmask)); netmask 2392 net/netfilter/ipvs/ip_vs_ctl.c usvc->netmask = usvc_compat->netmask; netmask 2571 net/netfilter/ipvs/ip_vs_ctl.c dst->netmask = src->netmask; netmask 3063 net/netfilter/ipvs/ip_vs_ctl.c nla_put_be32(skb, IPVS_SVC_ATTR_NETMASK, svc->netmask)) netmask 3228 net/netfilter/ipvs/ip_vs_ctl.c usvc->netmask = nla_get_be32(nla_netmask); netmask 25 net/netfilter/xt_NETMAP.c union nf_inet_addr new_addr, netmask; netmask 30 net/netfilter/xt_NETMAP.c netmask.ip6[i] = ~(range->min_addr.ip6[i] ^ netmask 40 net/netfilter/xt_NETMAP.c new_addr.ip6[i] &= ~netmask.ip6[i]; netmask 42 net/netfilter/xt_NETMAP.c netmask.ip6[i]; netmask 73 net/netfilter/xt_NETMAP.c __be32 new_ip, netmask; netmask 83 net/netfilter/xt_NETMAP.c netmask = ~(mr->range[0].min_ip ^ mr->range[0].max_ip); netmask 87 net/netfilter/xt_NETMAP.c new_ip = ip_hdr(skb)->daddr & ~netmask; netmask 89 net/netfilter/xt_NETMAP.c new_ip = ip_hdr(skb)->saddr & ~netmask; netmask 90 net/netfilter/xt_NETMAP.c new_ip |= mr->range[0].min_ip & netmask;