Lines Matching refs:eaddr
4171 gen_ehostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ehostop() argument
4177 return gen_bcmp(cstate, OR_LINKHDR, 6, 6, eaddr); in gen_ehostop()
4180 return gen_bcmp(cstate, OR_LINKHDR, 0, 6, eaddr); in gen_ehostop()
4183 b0 = gen_ehostop(cstate, eaddr, Q_SRC); in gen_ehostop()
4184 b1 = gen_ehostop(cstate, eaddr, Q_DST); in gen_ehostop()
4190 b0 = gen_ehostop(cstate, eaddr, Q_SRC); in gen_ehostop()
4191 b1 = gen_ehostop(cstate, eaddr, Q_DST); in gen_ehostop()
4227 gen_fhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_fhostop() argument
4233 return gen_bcmp(cstate, OR_LINKHDR, 6 + 1 + cstate->pcap_fddipad, 6, eaddr); in gen_fhostop()
4236 return gen_bcmp(cstate, OR_LINKHDR, 0 + 1 + cstate->pcap_fddipad, 6, eaddr); in gen_fhostop()
4239 b0 = gen_fhostop(cstate, eaddr, Q_SRC); in gen_fhostop()
4240 b1 = gen_fhostop(cstate, eaddr, Q_DST); in gen_fhostop()
4246 b0 = gen_fhostop(cstate, eaddr, Q_SRC); in gen_fhostop()
4247 b1 = gen_fhostop(cstate, eaddr, Q_DST); in gen_fhostop()
4283 gen_thostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_thostop() argument
4289 return gen_bcmp(cstate, OR_LINKHDR, 8, 6, eaddr); in gen_thostop()
4292 return gen_bcmp(cstate, OR_LINKHDR, 2, 6, eaddr); in gen_thostop()
4295 b0 = gen_thostop(cstate, eaddr, Q_SRC); in gen_thostop()
4296 b1 = gen_thostop(cstate, eaddr, Q_DST); in gen_thostop()
4302 b0 = gen_thostop(cstate, eaddr, Q_SRC); in gen_thostop()
4303 b1 = gen_thostop(cstate, eaddr, Q_DST); in gen_thostop()
4340 gen_wlanhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_wlanhostop() argument
4390 b0 = gen_bcmp(cstate, OR_LINKHDR, 24, 6, eaddr); in gen_wlanhostop()
4406 b1 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4438 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4476 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4537 b0 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4553 b1 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4590 b1 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4622 b0 = gen_wlanhostop(cstate, eaddr, Q_SRC); in gen_wlanhostop()
4623 b1 = gen_wlanhostop(cstate, eaddr, Q_DST); in gen_wlanhostop()
4629 b0 = gen_wlanhostop(cstate, eaddr, Q_SRC); in gen_wlanhostop()
4630 b1 = gen_wlanhostop(cstate, eaddr, Q_DST); in gen_wlanhostop()
4638 return (gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr)); in gen_wlanhostop()
4655 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4666 b1 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4679 b1 = gen_bcmp(cstate, OR_LINKHDR, 24, 6, eaddr); in gen_wlanhostop()
4702 b0 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4750 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4764 gen_ipfchostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ipfchostop() argument
4770 return gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_ipfchostop()
4773 return gen_bcmp(cstate, OR_LINKHDR, 2, 6, eaddr); in gen_ipfchostop()
4776 b0 = gen_ipfchostop(cstate, eaddr, Q_SRC); in gen_ipfchostop()
4777 b1 = gen_ipfchostop(cstate, eaddr, Q_DST); in gen_ipfchostop()
4783 b0 = gen_ipfchostop(cstate, eaddr, Q_SRC); in gen_ipfchostop()
4784 b1 = gen_ipfchostop(cstate, eaddr, Q_DST); in gen_ipfchostop()
5259 gen_gateway(compiler_state_t *cstate, const u_char *eaddr, in gen_gateway() argument
5279 b0 = gen_ehostop(cstate, eaddr, Q_OR); in gen_gateway()
5284 b0 = gen_fhostop(cstate, eaddr, Q_OR); in gen_gateway()
5287 b0 = gen_thostop(cstate, eaddr, Q_OR); in gen_gateway()
5294 b0 = gen_wlanhostop(cstate, eaddr, Q_OR); in gen_gateway()
5305 b0 = gen_ipfchostop(cstate, eaddr, Q_OR); in gen_gateway()
6948 u_char *eaddr; in gen_scode() local
6990 eaddr = pcap_ether_hostton(name); in gen_scode()
6991 if (eaddr == NULL) in gen_scode()
6995 b = gen_ehostop(cstate, eaddr, dir); in gen_scode()
6998 free(eaddr); in gen_scode()
7002 eaddr = pcap_ether_hostton(name); in gen_scode()
7003 if (eaddr == NULL) in gen_scode()
7006 b = gen_fhostop(cstate, eaddr, dir); in gen_scode()
7007 free(eaddr); in gen_scode()
7011 eaddr = pcap_ether_hostton(name); in gen_scode()
7012 if (eaddr == NULL) in gen_scode()
7015 b = gen_thostop(cstate, eaddr, dir); in gen_scode()
7016 free(eaddr); in gen_scode()
7024 eaddr = pcap_ether_hostton(name); in gen_scode()
7025 if (eaddr == NULL) in gen_scode()
7028 b = gen_wlanhostop(cstate, eaddr, dir); in gen_scode()
7029 free(eaddr); in gen_scode()
7033 eaddr = pcap_ether_hostton(name); in gen_scode()
7034 if (eaddr == NULL) in gen_scode()
7037 b = gen_ipfchostop(cstate, eaddr, dir); in gen_scode()
7038 free(eaddr); in gen_scode()
7207 eaddr = pcap_ether_hostton(name); in gen_scode()
7208 if (eaddr == NULL) in gen_scode()
7215 b = gen_gateway(cstate, eaddr, res, proto, dir); in gen_scode()
8935 gen_ahostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ahostop() argument
8942 return gen_bcmp(cstate, OR_LINKHDR, 0, 1, eaddr); in gen_ahostop()
8945 return gen_bcmp(cstate, OR_LINKHDR, 1, 1, eaddr); in gen_ahostop()
8948 b0 = gen_ahostop(cstate, eaddr, Q_SRC); in gen_ahostop()
8949 b1 = gen_ahostop(cstate, eaddr, Q_DST); in gen_ahostop()
8955 b0 = gen_ahostop(cstate, eaddr, Q_SRC); in gen_ahostop()
8956 b1 = gen_ahostop(cstate, eaddr, Q_DST); in gen_ahostop()