Lines Matching refs:eaddr
3699 static struct block *gen_ehostop(eaddr, dir) in gen_ehostop() argument
3700 register const u_char *eaddr; in gen_ehostop()
3708 return gen_bcmp(OR_LINK, off_mac + 6, 6, eaddr);
3711 return gen_bcmp(OR_LINK, off_mac + 0, 6, eaddr);
3714 b0 = gen_ehostop(eaddr, Q_SRC);
3715 b1 = gen_ehostop(eaddr, Q_DST);
3721 b0 = gen_ehostop(eaddr, Q_SRC);
3722 b1 = gen_ehostop(eaddr, Q_DST);
3733 static struct block *gen_fhostop(eaddr, dir) in gen_fhostop() argument
3734 register const u_char *eaddr; in gen_fhostop()
3743 return gen_bcmp(OR_LINK, 6 + 1 + pcap_fddipad, 6, eaddr);
3745 return gen_bcmp(OR_LINK, 6 + 1, 6, eaddr);
3750 return gen_bcmp(OR_LINK, 0 + 1 + pcap_fddipad, 6, eaddr);
3752 return gen_bcmp(OR_LINK, 0 + 1, 6, eaddr);
3756 b0 = gen_fhostop(eaddr, Q_SRC);
3757 b1 = gen_fhostop(eaddr, Q_DST);
3763 b0 = gen_fhostop(eaddr, Q_SRC);
3764 b1 = gen_fhostop(eaddr, Q_DST);
3775 static struct block *gen_thostop(eaddr, dir) in gen_thostop() argument
3776 register const u_char *eaddr; in gen_thostop()
3784 return gen_bcmp(OR_LINK, 8, 6, eaddr);
3787 return gen_bcmp(OR_LINK, 2, 6, eaddr);
3790 b0 = gen_thostop(eaddr, Q_SRC);
3791 b1 = gen_thostop(eaddr, Q_DST);
3797 b0 = gen_thostop(eaddr, Q_SRC);
3798 b1 = gen_thostop(eaddr, Q_DST);
3810 static struct block *gen_wlanhostop(eaddr, dir) in gen_wlanhostop() argument
3811 register const u_char *eaddr; in gen_wlanhostop()
3863 b0 = gen_bcmp(OR_LINK, 24, 6, eaddr);
3879 b1 = gen_bcmp(OR_LINK, 16, 6, eaddr);
3911 b1 = gen_bcmp(OR_LINK, 10, 6, eaddr);
3949 b1 = gen_bcmp(OR_LINK, 10, 6, eaddr);
4010 b0 = gen_bcmp(OR_LINK, 16, 6, eaddr);
4026 b1 = gen_bcmp(OR_LINK, 4, 6, eaddr);
4063 b1 = gen_bcmp(OR_LINK, 4, 6, eaddr);
4098 return (gen_bcmp(OR_LINK, 4, 6, eaddr));
4112 b1 = gen_bcmp(OR_LINK, 10, 6, eaddr);
4122 b1 = gen_bcmp(OR_LINK, 16, 6, eaddr);
4134 b1 = gen_bcmp(OR_LINK, 24, 6, eaddr);
4139 b0 = gen_wlanhostop(eaddr, Q_SRC);
4140 b1 = gen_wlanhostop(eaddr, Q_DST);
4146 b0 = gen_wlanhostop(eaddr, Q_SRC);
4147 b1 = gen_wlanhostop(eaddr, Q_DST);
4160 static struct block *gen_ipfchostop(eaddr, dir) in gen_ipfchostop() argument
4161 register const u_char *eaddr; in gen_ipfchostop()
4169 return gen_bcmp(OR_LINK, 10, 6, eaddr);
4172 return gen_bcmp(OR_LINK, 2, 6, eaddr);
4175 b0 = gen_ipfchostop(eaddr, Q_SRC);
4176 b1 = gen_ipfchostop(eaddr, Q_DST);
4182 b0 = gen_ipfchostop(eaddr, Q_SRC);
4183 b1 = gen_ipfchostop(eaddr, Q_DST);
4561 static struct block *gen_gateway(eaddr, alist, proto, dir) in gen_gateway() argument
4562 const u_char *eaddr; in gen_gateway()
4581 b0 = gen_ehostop(eaddr, Q_OR);
4584 b0 = gen_fhostop(eaddr, Q_OR);
4587 b0 = gen_thostop(eaddr, Q_OR);
4594 b0 = gen_wlanhostop(eaddr, Q_OR);
4611 b0 = gen_ehostop(eaddr, Q_OR);
4615 b0 = gen_ipfchostop(eaddr, Q_OR);
5902 u_char *eaddr; local
5941 eaddr = pcap_ether_hostton(name);
5942 if (eaddr == NULL)
5944 b = gen_ehostop(eaddr, dir);
5945 free(eaddr);
5949 eaddr = pcap_ether_hostton(name);
5950 if (eaddr == NULL)
5952 b = gen_fhostop(eaddr, dir);
5953 free(eaddr);
5957 eaddr = pcap_ether_hostton(name);
5958 if (eaddr == NULL)
5960 b = gen_thostop(eaddr, dir);
5961 free(eaddr);
5969 eaddr = pcap_ether_hostton(name);
5970 if (eaddr == NULL)
5972 b = gen_wlanhostop(eaddr, dir);
5973 free(eaddr);
5977 eaddr = pcap_ether_hostton(name);
5978 if (eaddr == NULL)
5980 b = gen_ipfchostop(eaddr, dir);
5981 free(eaddr);
5996 eaddr = pcap_ether_hostton(name);
5997 if (eaddr == NULL)
5999 b = gen_ehostop(eaddr, dir);
6001 free(eaddr);
6173 eaddr = pcap_ether_hostton(name);
6174 if (eaddr == NULL)
6180 b = gen_gateway(eaddr, alist, proto, dir);
6181 free(eaddr);
6441 struct block *gen_ecode(eaddr, q) in gen_ecode() argument
6442 register const u_char *eaddr; in gen_ecode()
6452 return gen_ehostop(eaddr, (int) q.dir);
6454 return gen_fhostop(eaddr, (int) q.dir);
6456 return gen_thostop(eaddr, (int) q.dir);
6462 return gen_wlanhostop(eaddr, (int) q.dir);
6477 b = gen_ehostop(eaddr, (int) q.dir);
6483 return gen_ipfchostop(eaddr, (int) q.dir);
7633 struct block *gen_acode(eaddr, q) in gen_acode() argument
7634 register const u_char *eaddr; in gen_acode()
7643 return (gen_ahostop(eaddr, (int) q.dir));
7660 static struct block *gen_ahostop(eaddr, dir) in gen_ahostop() argument
7661 register const u_char *eaddr; in gen_ahostop()
7670 return gen_bcmp(OR_LINK, 0, 1, eaddr);
7673 return gen_bcmp(OR_LINK, 1, 1, eaddr);
7676 b0 = gen_ahostop(eaddr, Q_SRC);
7677 b1 = gen_ahostop(eaddr, Q_DST);
7683 b0 = gen_ahostop(eaddr, Q_SRC);
7684 b1 = gen_ahostop(eaddr, Q_DST);