HomeSort by: relevance | last modified time | path
    Searched defs:ethdr (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.sbin/npf/npftest/libnpftest/
npf_mbuf_subr.c 131 struct ether_header *ethdr; local in function:mbuf_construct_ether
134 ethdr = mtod(m0, struct ether_header *);
135 ethdr->ether_type = htons(ETHERTYPE_IP);
311 struct ether_header *ethdr; local in function:mbuf_get_frame
320 ethdr = mtod(m0, struct ether_header *);
321 ethdr->ether_type = type;
322 memcpy(ethdr->ether_dhost, daddr, sizeof(ethdr->ether_dhost));
323 memcpy(ethdr->ether_shost, saddr, sizeof(ethdr->ether_shost))
    [all...]
npf_mbuf_subr.c 131 struct ether_header *ethdr; local in function:mbuf_construct_ether
134 ethdr = mtod(m0, struct ether_header *);
135 ethdr->ether_type = htons(ETHERTYPE_IP);
311 struct ether_header *ethdr; local in function:mbuf_get_frame
320 ethdr = mtod(m0, struct ether_header *);
321 ethdr->ether_type = type;
322 memcpy(ethdr->ether_dhost, daddr, sizeof(ethdr->ether_dhost));
323 memcpy(ethdr->ether_shost, saddr, sizeof(ethdr->ether_shost))
    [all...]

Completed in 25 milliseconds