/linux-2.6.39/arch/um/os-Linux/drivers/ |
D | ethertap_user.c | 35 unsigned char netmask[4]; member 38 static void etap_change(int op, unsigned char *addr, unsigned char *netmask, in etap_change() argument 47 memcpy(change.netmask, netmask, sizeof(change.netmask)); in etap_change() 66 static void etap_open_addr(unsigned char *addr, unsigned char *netmask, in etap_open_addr() argument 69 etap_change(ADD_ADDR, addr, netmask, *((int *) arg)); in etap_open_addr() 72 static void etap_close_addr(unsigned char *addr, unsigned char *netmask, in etap_close_addr() argument 75 etap_change(DEL_ADDR, addr, netmask, *((int *) arg)); in etap_close_addr() 219 static void etap_add_addr(unsigned char *addr, unsigned char *netmask, in etap_add_addr() argument 227 etap_open_addr(addr, netmask, &pri->control_fd); in etap_add_addr() 230 static void etap_del_addr(unsigned char *addr, unsigned char *netmask, in etap_del_addr() argument [all …]
|
D | tuntap_user.c | 30 static void tuntap_add_addr(unsigned char *addr, unsigned char *netmask, in tuntap_add_addr() argument 38 open_addr(addr, netmask, pri->dev_name); in tuntap_add_addr() 41 static void tuntap_del_addr(unsigned char *addr, unsigned char *netmask, in tuntap_del_addr() argument 48 close_addr(addr, netmask, pri->dev_name); in tuntap_del_addr()
|
/linux-2.6.39/net/netfilter/ipset/ |
D | ip_set_bitmap_ip.c | 43 u8 netmask; /* subnet netmask */ member 53 return ((ip & ip_set_hostmask(m->netmask)) - m->first_ip)/m->hosts; in ip_to_id() 339 if (map->netmask != 32) in bitmap_ip_head() 340 NLA_PUT_U8(skb, IPSET_ATTR_NETMASK, map->netmask); in bitmap_ip_head() 361 x->netmask == y->netmask && in bitmap_ip_same_set() 432 u32 elements, u32 hosts, u8 netmask) in init_map_ip() argument 441 map->netmask = netmask; in init_map_ip() 455 u8 netmask = 32; in bitmap_ip_create() local 486 netmask = nla_get_u8(tb[IPSET_ATTR_NETMASK]); in bitmap_ip_create() 488 if (netmask > 32) in bitmap_ip_create() [all …]
|
D | ip_set_hash_ip.c | 120 ip &= ip_set_netmask(h->netmask); in hash_ip4_kadt() 148 ip &= ip_set_hostmask(h->netmask); in hash_ip4_uadt() 179 hosts = h->netmask == 32 ? 1 : 2 << (32 - h->netmask - 1); in hash_ip4_uadt() 204 x->netmask == y->netmask; in hash_ip_same_set() 293 ip6_netmask(&ip, h->netmask); in hash_ip6_kadt() 329 ip6_netmask(&ip, h->netmask); in hash_ip6_uadt() 350 u8 netmask, hbits; in hash_ip_create() local 355 netmask = set->family == AF_INET ? 32 : 128; in hash_ip_create() 374 netmask = nla_get_u8(tb[IPSET_ATTR_NETMASK]); in hash_ip_create() 376 if ((set->family == AF_INET && netmask > 32) || in hash_ip_create() [all …]
|
/linux-2.6.39/arch/um/drivers/ |
D | net_user.c | 209 unsigned char *netmask) in change() argument 221 sprintf(netmask_buf, "%d.%d.%d.%d", netmask[0], netmask[1], in change() 222 netmask[2], netmask[3]); in change() 239 void open_addr(unsigned char *addr, unsigned char *netmask, void *arg) in open_addr() argument 241 change(arg, "add", addr, netmask); in open_addr() 244 void close_addr(unsigned char *addr, unsigned char *netmask, void *arg) in close_addr() argument 246 change(arg, "del", addr, netmask); in close_addr()
|
D | pcap_user.c | 40 __u32 netmask; in pcap_open() local 47 err = dev_netmask(pri->dev, &netmask); in pcap_open() 62 pri->filter, pri->optimize, netmask); in pcap_open()
|
D | slip_user.c | 225 static void slip_add_addr(unsigned char *addr, unsigned char *netmask, in slip_add_addr() argument 232 open_addr(addr, netmask, pri->name); in slip_add_addr() 235 static void slip_del_addr(unsigned char *addr, unsigned char *netmask, in slip_del_addr() argument 242 close_addr(addr, netmask, pri->name); in slip_del_addr()
|
D | net_kern.c | 839 unsigned char address[4], netmask[4]; in iter_addresses() local 845 memcpy(netmask, &in->ifa_mask, sizeof(netmask)); in iter_addresses() 846 (*cb)(address, netmask, arg); in iter_addresses()
|
/linux-2.6.39/net/ipv4/netfilter/ |
D | ipt_NETMAP.c | 45 __be32 new_ip, netmask; in netmap_tg() local 55 netmask = ~(mr->range[0].min_ip ^ mr->range[0].max_ip); in netmap_tg() 59 new_ip = ip_hdr(skb)->daddr & ~netmask; in netmap_tg() 61 new_ip = ip_hdr(skb)->saddr & ~netmask; in netmap_tg() 62 new_ip |= mr->range[0].min_ip & netmask; in netmap_tg()
|
/linux-2.6.39/arch/um/include/shared/ |
D | net_user.h | 46 extern void open_addr(unsigned char *addr, unsigned char *netmask, void *arg); 47 extern void close_addr(unsigned char *addr, unsigned char *netmask, void *arg);
|
/linux-2.6.39/arch/mips/include/asm/lasat/ |
D | lasat.h | 74 unsigned int netmask; member 99 unsigned int netmask; member
|
/linux-2.6.39/include/linux/ |
D | ip_vs.h | 130 __be32 netmask; /* persistent netmask */ member 192 __be32 netmask; /* persistent netmask */ member
|
D | atmbr2684.h | 101 __be32 netmask; /* 0 = disable filter */ member
|
/linux-2.6.39/fs/afs/ |
D | netdevices.c | 58 bufs[n].netmask.s_addr = ifa->ifa_mask; in afs_get_ipv4_interfaces()
|
D | cmservice.c | 517 __be32 netmask[32]; in SRXAFSCB_TellMeAboutYourself() member 553 reply.ia.netmask[loop] = ifs[loop].netmask.s_addr; in SRXAFSCB_TellMeAboutYourself()
|
/linux-2.6.39/net/atm/ |
D | br2684.c | 355 if (brvcc->filter.netmask == 0) in packet_fails_filter() 359 netmask) == brvcc->filter.prefix) in packet_fails_filter() 769 if (brvcc->filter.netmask != 0) in br2684_seq_show() 771 "%d.%d.%d.%d\n", bs(prefix), bs(netmask)); in br2684_seq_show()
|
/linux-2.6.39/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1158 if (u->af == AF_INET6 && (u->netmask < 1 || u->netmask > 128)) { in ip_vs_add_service() 1187 svc->netmask = u->netmask; in ip_vs_add_service() 1281 if (u->af == AF_INET6 && (u->netmask < 1 || u->netmask > 128)) { in ip_vs_edit_service() 1299 svc->netmask = u->netmask; in ip_vs_edit_service() 2018 ntohl(svc->netmask)); in ip_vs_info_seq_show() 2262 usvc->netmask = usvc_compat->netmask; in ip_vs_copy_usvc_compat() 2423 dst->netmask = src->netmask; in ip_vs_copy_service() 2852 NLA_PUT_U32(skb, IPVS_SVC_ATTR_NETMASK, svc->netmask); in ip_vs_genl_fill_service() 3003 usvc->netmask = nla_get_u32(nla_netmask); in ip_vs_genl_parse_service()
|
/linux-2.6.39/Documentation/networking/ |
D | ifenslave.c | 509 struct sockaddr dstaddr, broadaddr, netmask; in if_getconfig() local 563 memset(&netmask, 0, sizeof(struct sockaddr)); in if_getconfig() 565 netmask = ifr.ifr_netmask; in if_getconfig()
|
/linux-2.6.39/arch/mips/lasat/ |
D | sysctl.c | 218 .data = &lasat_board_info.li_eeprom_info.netmask,
|
/linux-2.6.39/Documentation/filesystems/nfs/ |
D | nfsroot.txt | 81 ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf> 119 <netmask> Netmask for local network interface. If unspecified 120 the netmask is derived from the client IP address assuming
|
/linux-2.6.39/drivers/infiniband/hw/amso1100/ |
D | c2_rnic.c | 237 netaddr.netmask = inmask; in c2_add_addr() 299 netaddr.netmask = inmask; in c2_del_addr()
|
D | c2_wr.h | 184 __be32 netmask; member 190 u32 netmask; /* netmask associated with dst */ member
|
/linux-2.6.39/include/linux/netfilter/ipset/ |
D | ip_set_ahash.h | 58 u8 netmask; /* netmask value for subnets to store */ member 515 if (h->netmask != HOST_MASK) in type_pf_head() 516 NLA_PUT_U8(skb, IPSET_ATTR_NETMASK, h->netmask); in type_pf_head()
|
/linux-2.6.39/drivers/net/chelsio/ |
D | cpl5_cmd.h | 602 u32 netmask; member
|
/linux-2.6.39/drivers/s390/net/ |
D | qeth_l3_main.c | 589 static void qeth_l3_fill_netmask(u8 *netmask, unsigned int len) in qeth_l3_fill_netmask() argument 595 netmask[i] = 0xff; in qeth_l3_fill_netmask() 597 netmask[i] = (u8)(0xFF00 >> j); in qeth_l3_fill_netmask() 599 netmask[i] = 0; in qeth_l3_fill_netmask() 609 __u8 netmask[16]; in qeth_l3_send_setdelip() local 619 qeth_l3_fill_netmask(netmask, addr->u.a6.pfxlen); in qeth_l3_send_setdelip() 620 memcpy(cmd->data.setdelip6.mask, netmask, in qeth_l3_send_setdelip()
|