Lines Matching refs:nmp
70 mblk_t *nmp; in vnet_vlan_insert_tag() local
94 nmp = allocb(sizeof (struct ether_vlan_header), in vnet_vlan_insert_tag()
96 if (nmp == NULL) { in vnet_vlan_insert_tag()
105 bcopy(mp->b_rptr, nmp->b_rptr, n); in vnet_vlan_insert_tag()
108 evhp = (struct ether_vlan_header *)nmp->b_rptr; in vnet_vlan_insert_tag()
113 bcopy(mp->b_rptr + n, nmp->b_rptr + n + VLAN_TAGSZ, in vnet_vlan_insert_tag()
120 nmp->b_wptr += sizeof (struct ether_vlan_header); in vnet_vlan_insert_tag()
127 nmp->b_cont = mp; in vnet_vlan_insert_tag()
128 mp = nmp; in vnet_vlan_insert_tag()
139 mblk_t *nmp; in vnet_vlan_remove_tag() local
150 nmp = allocb(sizeof (struct ether_header), BPRI_MED); in vnet_vlan_remove_tag()
151 if (nmp == NULL) { in vnet_vlan_remove_tag()
160 bcopy(mp->b_rptr, nmp->b_rptr, n); in vnet_vlan_remove_tag()
163 bcopy(mp->b_rptr + n + VLAN_TAGSZ, nmp->b_rptr + n, in vnet_vlan_remove_tag()
170 nmp->b_wptr += sizeof (struct ether_header); in vnet_vlan_remove_tag()
177 nmp->b_cont = mp; in vnet_vlan_remove_tag()
178 mp = nmp; in vnet_vlan_remove_tag()