Home
last modified time | relevance | path

Searched refs:sllh (Results 1 – 15 of 15) sorted by relevance

/dports/security/suricata/suricata-6.0.4/src/
H A Ddecode-sll.c52 SllHdr *sllh = (SllHdr *)pkt; in DecodeSll() local
53 if (unlikely(sllh == NULL)) in DecodeSll()
56 SCLogDebug("p %p pkt %p sll_protocol %04x", p, pkt, SCNtohs(sllh->sll_protocol)); in DecodeSll()
58 DecodeNetworkLayer(tv, dtv, SCNtohs(sllh->sll_protocol), p, in DecodeSll()
/dports/net-mgmt/pads/pads-1.2/src/
H A Dpacket.c76 struct sll_header *sllh; in process_sll() local
79 sllh = (struct sll_header*) packet; in process_sll()
82 switch(ntohs(sllh->sll_protocol)) { in process_sll()
/dports/security/barnyard2/barnyard2-2-1.13/src/
H A Dlog_text.c201 switch (ntohs(p->sllh->sll_pkttype)) { in LogSLLHeader()
224 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in LogSLLHeader()
225 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in LogSLLHeader()
226 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in LogSLLHeader()
230 ntohs(p->sllh->sll_pkttype), in LogSLLHeader()
231 ntohs(p->sllh->sll_protocol), p->pkth->len); in LogSLLHeader()
391 if (p && p->sllh) in Log2ndHeader()
H A Dlog.c708 if (p && p->sllh) in Print2ndHeader()
823 switch (ntohs(p->sllh->sll_pkttype)) { in PrintSLLHeader()
846 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in PrintSLLHeader()
847 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in PrintSLLHeader()
848 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in PrintSLLHeader()
852 ntohs(p->sllh->sll_pkttype), in PrintSLLHeader()
853 ntohs(p->sllh->sll_protocol), p->pkth->len); in PrintSLLHeader()
H A Ddecode.c1608 p->sllh = (SLLHdr *) pkt; in DecodeLinuxSLLPkt()
1611 switch(ntohs(p->sllh->sll_protocol)) in DecodeLinuxSLLPkt()
1655 p->sllh->sll_protocol);); in DecodeLinuxSLLPkt()
H A Ddecode.h1611 const SLLHdr *sllh; /* Linux cooked sockets header */ member
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/
H A Dlog_text.c201 switch (ntohs(p->sllh->sll_pkttype)) { in LogSLLHeader()
224 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in LogSLLHeader()
225 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in LogSLLHeader()
226 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in LogSLLHeader()
230 ntohs(p->sllh->sll_pkttype), in LogSLLHeader()
231 ntohs(p->sllh->sll_protocol), p->pkth->len); in LogSLLHeader()
391 if (p && p->sllh) in Log2ndHeader()
H A Dlog.c708 if (p && p->sllh) in Print2ndHeader()
823 switch (ntohs(p->sllh->sll_pkttype)) { in PrintSLLHeader()
846 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in PrintSLLHeader()
847 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in PrintSLLHeader()
848 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in PrintSLLHeader()
852 ntohs(p->sllh->sll_pkttype), in PrintSLLHeader()
853 ntohs(p->sllh->sll_protocol), p->pkth->len); in PrintSLLHeader()
H A Ddecode.c1608 p->sllh = (SLLHdr *) pkt; in DecodeLinuxSLLPkt()
1611 switch(ntohs(p->sllh->sll_protocol)) in DecodeLinuxSLLPkt()
1655 p->sllh->sll_protocol);); in DecodeLinuxSLLPkt()
H A Ddecode.h1611 const SLLHdr *sllh; /* Linux cooked sockets header */ member
/dports/security/snort/snort-2.9.18/src/
H A Dlog_text.c248 switch (ntohs(p->sllh->sll_pkttype)) { in LogSLLHeader()
271 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in LogSLLHeader()
272 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in LogSLLHeader()
273 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in LogSLLHeader()
277 ntohs(p->sllh->sll_pkttype), in LogSLLHeader()
278 ntohs(p->sllh->sll_protocol), p->pkth->pktlen); in LogSLLHeader()
438 if (p && p->sllh) in Log2ndHeader()
H A Dlog.c842 if (p && p->sllh) in Print2ndHeader()
968 switch (ntohs(p->sllh->sll_pkttype)) { in PrintSLLHeader()
991 htons(p->sllh->sll_halen), ntohs(p->sllh->sll_hatype), in PrintSLLHeader()
992 p->sllh->sll_addr[0], p->sllh->sll_addr[1], p->sllh->sll_addr[2], in PrintSLLHeader()
993 p->sllh->sll_addr[3], p->sllh->sll_addr[4], p->sllh->sll_addr[5]); in PrintSLLHeader()
997 ntohs(p->sllh->sll_pkttype), in PrintSLLHeader()
998 ntohs(p->sllh->sll_protocol), p->pkth->pktlen); in PrintSLLHeader()
H A Ddecode.h1810 const SLLHdr *sllh; /* Linux cooked sockets header */ member
H A Ddecode.c6864 p->sllh = (SLLHdr *) pkt; in DecodeLinuxSLLPkt()
6867 switch(ntohs(p->sllh->sll_protocol)) in DecodeLinuxSLLPkt()
6920 p->sllh->sll_protocol);); in DecodeLinuxSLLPkt()
/dports/net/ipsumdump/ipsumdump-1.86/src/
H A Dfakepcap.cc211 const click_linux_sll* sllh = reinterpret_cast<const click_linux_sll*>(data); in fake_pcap_force_ip() local
213 IP_ETHERTYPE(sllh->sll_protocol)) in fake_pcap_force_ip()
214 iph = reinterpret_cast<const click_ip*>(sllh + 1); in fake_pcap_force_ip()