Searched refs:iphp (Results 1 - 6 of 6) sorted by relevance
/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/ |
H A D | remove_hash.c | 18 int remove_hash(iphp, iocfunc) 19 iphtable_t *iphp; 31 op.iplo_unit = iphp->iph_unit; 32 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name)); 39 iph.iph_unit = iphp->iph_unit; 40 iph.iph_type = iphp->iph_type; 41 strncpy(iph.iph_name, iphp->iph_name, sizeof(iph.iph_name)); 42 iph.iph_flags = iphp->iph_flags;
|
H A D | load_hash.c | 23 int load_hash(iphp, list, iocfunc) 24 iphtable_t *iphp; 44 op.iplo_unit = iphp->iph_unit; 45 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name)); 50 iph.iph_unit = iphp->iph_unit; 51 iph.iph_type = iphp->iph_type; 52 strncpy(iph.iph_name, iphp->iph_name, sizeof(iph.iph_name)); 53 iph.iph_flags = iphp->iph_flags; 56 if (iphp->iph_size == 0) 59 size = iphp [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv4.c | 143 struct ip *iphp; local 157 iphp = (struct ip *)mp->b_rptr; 159 bzero(iphp, hdr_len + extra_len); 161 bcopy(tmpl_iphp, iphp, hdr_len); 163 iphp->ip_hl = IP_SIMPLE_HDR_LENGTH_IN_WORDS; 164 iphp->ip_off = htons(IP_DF); 165 iphp->ip_ttl = IPTUN_DEFAULT_HOPLIMIT; 168 iphp->ip_v = IPVERSION; 169 iphp->ip_len = 0; 170 iphp 182 struct ip *iphp; local 211 const struct ip *iphp = pdata; local [all...] |
/opensolaris-onvv-gate/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 694 struct ip *iphp; local 718 iphp = (struct ip *)igp->igm_mp->b_rptr; 719 if (iphp->ip_v != IPVERSION) { 721 index, iphp->ip_v); 725 iphlen = iphp->ip_hl << 2; 732 iplen = ntohs(iphp->ip_len); 740 bcopy((caddr_t)&(iphp->ip_dst), (caddr_t)&ipdst, 742 bcopy((caddr_t)&(iphp->ip_src), (caddr_t)&ipsrc, 746 if (ipv4cksum((uint16_t *)iphp, iphlen) != 0) { 769 if (!promiscuous && (iphp 973 struct ip *iphp; local [all...] |
H A D | icmp4.c | 57 icmp4(struct inetgram *igp, struct ip *iphp, uint16_t iphlen, argument 64 icmp_len = ntohs(iphp->ip_len) - iphlen;
|
/opensolaris-onvv-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 968 ipha_t *iphp; local 975 iphp = (ipha_t *)(mp->b_rptr + skip_len); 976 if (((unsigned char *)iphp + sizeof (ipha_t) > mp->b_wptr) || 977 !OK_32PTR((char *)iphp)) 980 proto = iphp->ipha_protocol; 981 skip_len += IPH_HDR_LENGTH(iphp); 984 ip_fragmented = ntohs(iphp->ipha_fragment_offset_and_flags) & 993 uint8_t *ip_src = (uint8_t *)&(iphp->ipha_src); 994 uint8_t *ip_dst = (uint8_t *)&(iphp->ipha_dst); 1002 uint8_t *identp = (uint8_t *)&iphp [all...] |
Completed in 102 milliseconds