/net/netfilter/ipset/ |
D | ip_set_list_set.c | 55 struct set_elem *e; in list_set_ktest() local 63 list_for_each_entry_rcu(e, &map->members, list) { in list_set_ktest() 64 ret = ip_set_test(e->id, skb, par, opt); in list_set_ktest() 67 if (ip_set_match_extensions(set, ext, mext, flags, e)) in list_set_ktest() 79 struct set_elem *e; in list_set_kadd() local 82 list_for_each_entry(e, &map->members, list) { in list_set_kadd() 84 ip_set_timeout_expired(ext_timeout(e, set))) in list_set_kadd() 86 ret = ip_set_add(e->id, skb, par, opt); in list_set_kadd() 99 struct set_elem *e; in list_set_kdel() local 102 list_for_each_entry(e, &map->members, list) { in list_set_kdel() [all …]
|
D | ip_set_hash_netportnet.c | 143 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 145 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 146 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() 156 struct hash_netportnet4_elem e = { }; in hash_netportnet4_kadt() local 159 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 160 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 162 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt() 165 &e.port, &e.proto)) in hash_netportnet4_kadt() 168 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); in hash_netportnet4_kadt() 169 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1]); in hash_netportnet4_kadt() [all …]
|
D | ip_set_hash_netnet.c | 132 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 134 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 135 e->cidr[1] = HOST_MASK; in hash_netnet4_init() 145 struct hash_netnet4_elem e = { }; in hash_netnet4_kadt() local 148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 151 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt() 153 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); in hash_netnet4_kadt() 154 ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]); in hash_netnet4_kadt() 155 e.ip[0] &= ip_set_netmask(e.cidr[0]); in hash_netnet4_kadt() [all …]
|
D | ip_set_hash_ipportnet.c | 139 struct hash_ipportnet4_elem e = { in hash_ipportnet4_kadt() local 145 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt() 148 &e.port, &e.proto)) in hash_ipportnet4_kadt() 151 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipportnet4_kadt() 152 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportnet4_kadt() 153 e.ip2 &= ip_set_netmask(e.cidr + 1); in hash_ipportnet4_kadt() 155 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipportnet4_kadt() 164 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt() local 197 e.cidr = cidr - 1; in hash_ipportnet4_uadt() 200 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() [all …]
|
D | ip_set_hash_netport.c | 134 struct hash_netport4_elem e = { in hash_netport4_kadt() local 140 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 143 &e.port, &e.proto)) in hash_netport4_kadt() 146 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netport4_kadt() 147 e.ip &= ip_set_netmask(e.cidr + 1); in hash_netport4_kadt() 149 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_netport4_kadt() 158 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt() local 186 e.cidr = cidr - 1; in hash_netport4_uadt() 189 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 192 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netport4_uadt() [all …]
|
D | ip_set_hash_ipportip.c | 94 struct hash_ipportip4_elem e = { .ip = 0 }; in hash_ipportip4_kadt() local 98 &e.port, &e.proto)) in hash_ipportip4_kadt() 101 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipportip4_kadt() 102 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportip4_kadt() 103 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipportip4_kadt() 112 struct hash_ipportip4_elem e = { .ip = 0 }; in hash_ipportip4_uadt() local 126 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportip4_uadt() 134 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip4_uadt() 138 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 141 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportip4_uadt() [all …]
|
D | ip_set_hash_ipport.c | 92 struct hash_ipport4_elem e = { .ip = 0 }; in hash_ipport4_kadt() local 96 &e.port, &e.proto)) in hash_ipport4_kadt() 99 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipport4_kadt() 100 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipport4_kadt() 109 struct hash_ipport4_elem e = { .ip = 0 }; in hash_ipport4_uadt() local 123 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipport4_uadt() 131 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 134 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport4_uadt() 135 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipport4_uadt() 137 if (e.proto == 0) in hash_ipport4_uadt() [all …]
|
D | ip_set_hash_ipmac.c | 59 hash_ipmac4_data_list(struct sk_buff *skb, const struct hash_ipmac4_elem *e) in hash_ipmac4_data_list() argument 61 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip) || in hash_ipmac4_data_list() 62 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_ipmac4_data_list() 72 const struct hash_ipmac4_elem *e) in hash_ipmac4_data_next() argument 74 next->ip = e->ip; in hash_ipmac4_data_next() 89 struct hash_ipmac4_elem e = { .ip = 0, { .foo[0] = 0, .foo[1] = 0 } }; in hash_ipmac4_kadt() local 97 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_ipmac4_kadt() 99 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_ipmac4_kadt() 101 if (is_zero_ether_addr(e.ether)) in hash_ipmac4_kadt() 104 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipmac4_kadt() [all …]
|
D | ip_set_hash_netiface.c | 157 struct hash_netiface4_elem e = { in hash_netiface4_kadt() local 164 e.cidr = HOST_MASK; in hash_netiface4_kadt() 166 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netiface4_kadt() 167 e.ip &= ip_set_netmask(e.cidr); in hash_netiface4_kadt() 179 STRLCPY(e.iface, eiface); in hash_netiface4_kadt() 180 e.physdev = 1; in hash_netiface4_kadt() 183 STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() 186 if (strlen(e.iface) == 0) in hash_netiface4_kadt() 188 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_netiface4_kadt() 197 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt() local [all …]
|
D | ip_set_hash_ip.c | 56 hash_ip4_data_list(struct sk_buff *skb, const struct hash_ip4_elem *e) in hash_ip4_data_list() argument 58 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip)) in hash_ip4_data_list() 67 hash_ip4_data_next(struct hash_ip4_elem *next, const struct hash_ip4_elem *e) in hash_ip4_data_next() argument 69 next->ip = e->ip; in hash_ip4_data_next() 83 struct hash_ip4_elem e = { 0 }; in hash_ip4_kadt() local 92 e.ip = ip; in hash_ip4_kadt() 93 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip4_kadt() 102 struct hash_ip4_elem e = { 0 }; in hash_ip4_uadt() local 122 e.ip = htonl(ip); in hash_ip4_uadt() 123 if (e.ip == 0) in hash_ip4_uadt() [all …]
|
D | ip_set_hash_net.c | 118 struct hash_net4_elem e = { in hash_net4_kadt() local 123 if (e.cidr == 0) in hash_net4_kadt() 126 e.cidr = HOST_MASK; in hash_net4_kadt() 128 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_net4_kadt() 129 e.ip &= ip_set_netmask(e.cidr); in hash_net4_kadt() 131 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_net4_kadt() 140 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt() local 161 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt() 162 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt() 174 e.ip = htonl(ip & ip_set_hostmask(e.cidr)); in hash_net4_uadt() [all …]
|
D | ip_set_bitmap_ipmac.c | 83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_do_test() argument 88 if (!test_bit(e->id, map->members)) in bitmap_ipmac_do_test() 90 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test() 91 if (e->add_mac && elem->filled == MAC_FILLED) in bitmap_ipmac_do_test() 92 return ether_addr_equal(e->ether, elem->ether); in bitmap_ipmac_do_test() 117 const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_add_timeout() argument 134 if (e->add_mac) in bitmap_ipmac_add_timeout() 143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_do_add() argument 148 elem = get_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_add() 149 if (test_bit(e->id, map->members)) { in bitmap_ipmac_do_add() [all …]
|
D | ip_set_hash_ipmark.c | 85 struct hash_ipmark4_elem e = { }; in hash_ipmark4_kadt() local 88 e.mark = skb->mark; in hash_ipmark4_kadt() 89 e.mark &= h->markmask; in hash_ipmark4_kadt() 91 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipmark4_kadt() 92 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmark4_kadt() 101 struct hash_ipmark4_elem e = { }; in hash_ipmark4_uadt() local 113 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipmark4_uadt() 121 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt() 122 e.mark &= h->markmask; in hash_ipmark4_uadt() 126 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ipmark4_uadt() [all …]
|
D | ip_set_hash_mac.c | 49 hash_mac4_data_list(struct sk_buff *skb, const struct hash_mac4_elem *e) in hash_mac4_data_list() argument 51 if (nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_mac4_data_list() 61 const struct hash_mac4_elem *e) in hash_mac4_data_next() argument 77 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_kadt() local 85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt() 87 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_mac4_kadt() 89 if (is_zero_ether_addr(e.ether)) in hash_mac4_kadt() 91 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_mac4_kadt() 99 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_uadt() local 113 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt() [all …]
|
/net/netfilter/ |
D | xt_quota2.c | 137 struct xt_quota_counter *e = PDE_DATA(file_inode(file)); in quota_proc_read() local 141 spin_lock_bh(&e->lock); in quota_proc_read() 142 tmp_size = scnprintf(tmp, sizeof(tmp), "%llu\n", e->quota); in quota_proc_read() 143 spin_unlock_bh(&e->lock); in quota_proc_read() 150 struct xt_quota_counter *e = PDE_DATA(file_inode(file)); in quota_proc_write() local 161 spin_lock_bh(&e->lock); in quota_proc_write() 162 e->quota = simple_strtoull(buf, NULL, 0); in quota_proc_write() 163 spin_unlock_bh(&e->lock); in quota_proc_write() 176 struct xt_quota_counter *e; in q2_new_counter() local 180 size = anon ? offsetof(typeof(*e), list) : sizeof(*e); in q2_new_counter() [all …]
|
D | xt_recent.c | 128 struct recent_entry *e; in recent_entry_lookup() local 136 list_for_each_entry(e, &table->iphash[h], list) in recent_entry_lookup() 137 if (e->family == family && in recent_entry_lookup() 138 memcmp(&e->addr, addrp, sizeof(e->addr)) == 0 && in recent_entry_lookup() 139 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup() 140 return e; in recent_entry_lookup() 144 static void recent_entry_remove(struct recent_table *t, struct recent_entry *e) in recent_entry_remove() argument 146 list_del(&e->list); in recent_entry_remove() 147 list_del(&e->lru_list); in recent_entry_remove() 148 kfree(e); in recent_entry_remove() [all …]
|
D | nf_conntrack_ecache.c | 52 struct nf_conntrack_ecache *e; in ecache_work_evict_list() local 57 e = nf_ct_ecache_find(ct); in ecache_work_evict_list() 58 if (!e || e->state != NFCT_ECACHE_DESTROY_FAIL) in ecache_work_evict_list() 66 e->state = NFCT_ECACHE_DESTROY_SENT; in ecache_work_evict_list() 126 struct nf_conntrack_ecache *e; in nf_conntrack_eventmask_report() local 133 e = nf_ct_ecache_find(ct); in nf_conntrack_eventmask_report() 134 if (!e) in nf_conntrack_eventmask_report() 140 .portid = e->portid ? e->portid : portid, in nf_conntrack_eventmask_report() 144 unsigned long missed = e->portid ? 0 : e->missed; in nf_conntrack_eventmask_report() 146 if (!((eventmask | missed) & e->ctmask)) in nf_conntrack_eventmask_report() [all …]
|
D | xt_policy.c | 35 match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e, in match_xfrm_state() argument 38 #define MATCH_ADDR(x,y,z) (!e->match.x || \ in match_xfrm_state() 39 (xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \ in match_xfrm_state() 40 ^ e->invert.x)) in match_xfrm_state() 41 #define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x)) in match_xfrm_state() 55 const struct xt_policy_elem *e; in match_policy_in() local 69 e = &info->pol[pos]; in match_policy_in() 71 if (match_xfrm_state(sp->xvec[i], e, family)) { in match_policy_in() 85 const struct xt_policy_elem *e; in match_policy_out() local 98 e = &info->pol[pos]; in match_policy_out() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_est.c | 98 struct ip_vs_estimator *e; in estimation_timer() local 104 list_for_each_entry(e, &ipvs->est_list, list) { in estimation_timer() 105 s = container_of(e, struct ip_vs_stats, est); in estimation_timer() 111 rate = (s->kstats.conns - e->last_conns) << 9; in estimation_timer() 112 e->last_conns = s->kstats.conns; in estimation_timer() 113 e->cps += ((s64)rate - (s64)e->cps) >> 2; in estimation_timer() 115 rate = (s->kstats.inpkts - e->last_inpkts) << 9; in estimation_timer() 116 e->last_inpkts = s->kstats.inpkts; in estimation_timer() 117 e->inpps += ((s64)rate - (s64)e->inpps) >> 2; in estimation_timer() 119 rate = (s->kstats.outpkts - e->last_outpkts) << 9; in estimation_timer() [all …]
|
D | ip_vs_lblcr.c | 102 struct ip_vs_dest_set_elem *e; in ip_vs_dest_set_insert() local 105 list_for_each_entry(e, &set->list, list) { in ip_vs_dest_set_insert() 106 if (e->dest == dest) in ip_vs_dest_set_insert() 111 e = kmalloc(sizeof(*e), GFP_ATOMIC); in ip_vs_dest_set_insert() 112 if (e == NULL) in ip_vs_dest_set_insert() 116 e->dest = dest; in ip_vs_dest_set_insert() 118 list_add_rcu(&e->list, &set->list); in ip_vs_dest_set_insert() 126 struct ip_vs_dest_set_elem *e; in ip_vs_lblcr_elem_rcu_free() local 128 e = container_of(head, struct ip_vs_dest_set_elem, rcu_head); in ip_vs_lblcr_elem_rcu_free() 129 ip_vs_dest_put_and_free(e->dest); in ip_vs_lblcr_elem_rcu_free() [all …]
|
/net/ipv4/netfilter/ |
D | ip_tables.c | 110 static inline bool unconditional(const struct ipt_entry *e) in unconditional() argument 114 return e->target_offset == sizeof(struct ipt_entry) && in unconditional() 115 memcmp(&e->ip, &uncond, sizeof(uncond)) == 0; in unconditional() 120 ipt_get_target_c(const struct ipt_entry *e) in ipt_get_target_c() argument 122 return ipt_get_target((struct ipt_entry *)e); in ipt_get_target_c() 158 get_chainname_rulenum(const struct ipt_entry *s, const struct ipt_entry *e, in get_chainname_rulenum() argument 168 } else if (s == e) { in get_chainname_rulenum() 194 const struct ipt_entry *e) in trace_packet() argument 207 if (get_chainname_rulenum(iter, e, hookname, in trace_packet() 236 struct ipt_entry *e, **jumpstack; in ipt_do_table() local [all …]
|
D | arp_tables.c | 165 arpt_get_target_c(const struct arpt_entry *e) in arpt_get_target_c() argument 167 return arpt_get_target((struct arpt_entry *)e); in arpt_get_target_c() 190 struct arpt_entry *e, **jumpstack; in arpt_do_table() local 214 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table() 224 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { in arpt_do_table() 225 e = arpt_next_entry(e); in arpt_do_table() 229 counter = xt_get_this_cpu_counter(&e->counters); in arpt_do_table() 232 t = arpt_get_target_c(e); in arpt_do_table() 246 e = get_entry(table_base, in arpt_do_table() 249 e = jumpstack[--stackidx]; in arpt_do_table() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 135 static inline bool unconditional(const struct ip6t_entry *e) in unconditional() argument 139 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional() 140 memcmp(&e->ipv6, &uncond, sizeof(uncond)) == 0; in unconditional() 144 ip6t_get_target_c(const struct ip6t_entry *e) in ip6t_get_target_c() argument 146 return ip6t_get_target((struct ip6t_entry *)e); in ip6t_get_target_c() 183 get_chainname_rulenum(const struct ip6t_entry *s, const struct ip6t_entry *e, in get_chainname_rulenum() argument 193 } else if (s == e) { in get_chainname_rulenum() 219 const struct ip6t_entry *e) in trace_packet() argument 232 if (get_chainname_rulenum(iter, e, hookname, in trace_packet() 260 struct ip6t_entry *e, **jumpstack; in ip6t_do_table() local [all …]
|
/net/bridge/netfilter/ |
D | ebtables.c | 118 ebt_basic_match(const struct ebt_entry *e, const struct sk_buff *skb, in ebt_basic_match() argument 130 if (e->bitmask & EBT_802_3) { in ebt_basic_match() 131 if (NF_INVF(e, EBT_IPROTO, eth_proto_is_802_3(ethproto))) in ebt_basic_match() 133 } else if (!(e->bitmask & EBT_NOPROTO) && in ebt_basic_match() 134 NF_INVF(e, EBT_IPROTO, e->ethproto != ethproto)) in ebt_basic_match() 137 if (NF_INVF(e, EBT_IIN, ebt_dev_check(e->in, in))) in ebt_basic_match() 139 if (NF_INVF(e, EBT_IOUT, ebt_dev_check(e->out, out))) in ebt_basic_match() 143 NF_INVF(e, EBT_ILOGICALIN, in ebt_basic_match() 144 ebt_dev_check(e->logical_in, p->br->dev))) in ebt_basic_match() 147 NF_INVF(e, EBT_ILOGICALOUT, in ebt_basic_match() [all …]
|
/net/ipv4/ |
D | ipconfig.c | 657 u8 *e = options; in ic_dhcp_init_options() local 662 memcpy(e, ic_bootp_cookie, 4); /* RFC1048 Magic Cookie */ in ic_dhcp_init_options() 663 e += 4; in ic_dhcp_init_options() 665 *e++ = 53; /* DHCP message type */ in ic_dhcp_init_options() 666 *e++ = 1; in ic_dhcp_init_options() 667 *e++ = mt; in ic_dhcp_init_options() 670 *e++ = 54; /* Server ID (IP address) */ in ic_dhcp_init_options() 671 *e++ = 4; in ic_dhcp_init_options() 672 memcpy(e, &ic_servaddr, 4); in ic_dhcp_init_options() 673 e += 4; in ic_dhcp_init_options() [all …]
|