Home | History | Annotate | Download | only in libpcap

Lines Matching refs:eaddr

3738 gen_ehostop(eaddr, dir)
3739 register const u_char *eaddr;
3746 return gen_bcmp(OR_LINKHDR, 6, 6, eaddr);
3749 return gen_bcmp(OR_LINKHDR, 0, 6, eaddr);
3752 b0 = gen_ehostop(eaddr, Q_SRC);
3753 b1 = gen_ehostop(eaddr, Q_DST);
3759 b0 = gen_ehostop(eaddr, Q_SRC);
3760 b1 = gen_ehostop(eaddr, Q_DST);
3796 gen_fhostop(eaddr, dir)
3797 register const u_char *eaddr;
3804 return gen_bcmp(OR_LINKHDR, 6 + 1 + pcap_fddipad, 6, eaddr);
3807 return gen_bcmp(OR_LINKHDR, 0 + 1 + pcap_fddipad, 6, eaddr);
3810 b0 = gen_fhostop(eaddr, Q_SRC);
3811 b1 = gen_fhostop(eaddr, Q_DST);
3817 b0 = gen_fhostop(eaddr, Q_SRC);
3818 b1 = gen_fhostop(eaddr, Q_DST);
3854 gen_thostop(eaddr, dir)
3855 register const u_char *eaddr;
3862 return gen_bcmp(OR_LINKHDR, 8, 6, eaddr);
3865 return gen_bcmp(OR_LINKHDR, 2, 6, eaddr);
3868 b0 = gen_thostop(eaddr, Q_SRC);
3869 b1 = gen_thostop(eaddr, Q_DST);
3875 b0 = gen_thostop(eaddr, Q_SRC);
3876 b1 = gen_thostop(eaddr, Q_DST);
3913 gen_wlanhostop(eaddr, dir)
3914 register const u_char *eaddr;
3965 b0 = gen_bcmp(OR_LINKHDR, 24, 6, eaddr);
3981 b1 = gen_bcmp(OR_LINKHDR, 16, 6, eaddr);
4013 b1 = gen_bcmp(OR_LINKHDR, 10, 6, eaddr);
4051 b1 = gen_bcmp(OR_LINKHDR, 10, 6, eaddr);
4112 b0 = gen_bcmp(OR_LINKHDR, 16, 6, eaddr);
4128 b1 = gen_bcmp(OR_LINKHDR, 4, 6, eaddr);
4165 b1 = gen_bcmp(OR_LINKHDR, 4, 6, eaddr);
4215 b0 = gen_bcmp(OR_LINKHDR, 4, 6, eaddr);
4263 b1 = gen_bcmp(OR_LINKHDR, 10, 6, eaddr);
4271 return (gen_bcmp(OR_LINKHDR, 4, 6, eaddr));
4288 b1 = gen_bcmp(OR_LINKHDR, 10, 6, eaddr);
4299 b1 = gen_bcmp(OR_LINKHDR, 16, 6, eaddr);
4312 b1 = gen_bcmp(OR_LINKHDR, 24, 6, eaddr);
4317 b0 = gen_wlanhostop(eaddr, Q_SRC);
4318 b1 = gen_wlanhostop(eaddr, Q_DST);
4324 b0 = gen_wlanhostop(eaddr, Q_SRC);
4325 b1 = gen_wlanhostop(eaddr, Q_DST);
4339 gen_ipfchostop(eaddr, dir)
4340 register const u_char *eaddr;
4347 return gen_bcmp(OR_LINKHDR, 10, 6, eaddr);
4350 return gen_bcmp(OR_LINKHDR, 2, 6, eaddr);
4353 b0 = gen_ipfchostop(eaddr, Q_SRC);
4354 b1 = gen_ipfchostop(eaddr, Q_DST);
4360 b0 = gen_ipfchostop(eaddr, Q_SRC);
4361 b1 = gen_ipfchostop(eaddr, Q_DST);
4773 gen_gateway(eaddr, alist, proto, dir)
4774 const u_char *eaddr;
4794 b0 = gen_ehostop(eaddr, Q_OR);
4799 b0 = gen_fhostop(eaddr, Q_OR);
4802 b0 = gen_thostop(eaddr, Q_OR);
4809 b0 = gen_wlanhostop(eaddr, Q_OR);
4821 b0 = gen_ipfchostop(eaddr, Q_OR);
6101 u_char *eaddr;
6138 eaddr = pcap_ether_hostton(name);
6139 if (eaddr == NULL)
6143 b = gen_ehostop(eaddr, dir);
6146 free(eaddr);
6150 eaddr = pcap_ether_hostton(name);
6151 if (eaddr == NULL)
6154 b = gen_fhostop(eaddr, dir);
6155 free(eaddr);
6159 eaddr = pcap_ether_hostton(name);
6160 if (eaddr == NULL)
6163 b = gen_thostop(eaddr, dir);
6164 free(eaddr);
6172 eaddr = pcap_ether_hostton(name);
6173 if (eaddr == NULL)
6176 b = gen_wlanhostop(eaddr, dir);
6177 free(eaddr);
6181 eaddr = pcap_ether_hostton(name);
6182 if (eaddr == NULL)
6185 b = gen_ipfchostop(eaddr, dir);
6186 free(eaddr);
6358 eaddr = pcap_ether_hostton(name);
6359 if (eaddr == NULL)
6365 b = gen_gateway(eaddr, alist, proto, dir);
6366 free(eaddr);
6615 gen_ecode(eaddr, q)
6616 register const u_char *eaddr;
6627 b = gen_ehostop(eaddr, (int)q.dir);
6632 return gen_fhostop(eaddr, (int)q.dir);
6634 return gen_thostop(eaddr, (int)q.dir);
6640 return gen_wlanhostop(eaddr, (int)q.dir);
6642 return gen_ipfchostop(eaddr, (int)q.dir);
7786 gen_acode(eaddr, q)
7787 register const u_char *eaddr;
7796 return (gen_ahostop(eaddr, (int)q.dir));
7813 gen_ahostop(eaddr, dir)
7814 register const u_char *eaddr;
7822 return gen_bcmp(OR_LINKHDR, 0, 1, eaddr);
7825 return gen_bcmp(OR_LINKHDR, 1, 1, eaddr);
7828 b0 = gen_ahostop(eaddr, Q_SRC);
7829 b1 = gen_ahostop(eaddr, Q_DST);
7835 b0 = gen_ahostop(eaddr, Q_SRC);
7836 b1 = gen_ahostop(eaddr, Q_DST);