Home | History | Annotate | Download | only in libpcap

Lines Matching defs:hdrp

1463 	struct sll_header	*hdrp;
1620 hdrp = (struct sll_header *)bp;
1621 hdrp->sll_pkttype = map_packet_type_to_sll_type(from.sll_pkttype);
1622 hdrp->sll_hatype = htons(from.sll_hatype);
1623 hdrp->sll_halen = htons(from.sll_halen);
1624 memcpy(hdrp->sll_addr, from.sll_addr,
1628 hdrp->sll_protocol = from.sll_protocol;
4225 struct sll_header *hdrp;
4254 hdrp = (struct sll_header *)bp;
4255 hdrp->sll_pkttype = map_packet_type_to_sll_type(
4257 hdrp->sll_hatype = htons(sll->sll_hatype);
4258 hdrp->sll_halen = htons(sll->sll_halen);
4259 memcpy(hdrp->sll_addr, sll->sll_addr, SLL_ADDRLEN);
4260 hdrp->sll_protocol = sll->sll_protocol;