Lines Matching refs:eaddr
3979 gen_ehostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ehostop() argument
3985 return gen_bcmp(cstate, OR_LINKHDR, 6, 6, eaddr); in gen_ehostop()
3988 return gen_bcmp(cstate, OR_LINKHDR, 0, 6, eaddr); in gen_ehostop()
3991 b0 = gen_ehostop(cstate, eaddr, Q_SRC); in gen_ehostop()
3992 b1 = gen_ehostop(cstate, eaddr, Q_DST); in gen_ehostop()
3998 b0 = gen_ehostop(cstate, eaddr, Q_SRC); in gen_ehostop()
3999 b1 = gen_ehostop(cstate, eaddr, Q_DST); in gen_ehostop()
4035 gen_fhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_fhostop() argument
4041 return gen_bcmp(cstate, OR_LINKHDR, 6 + 1 + cstate->pcap_fddipad, 6, eaddr); in gen_fhostop()
4044 return gen_bcmp(cstate, OR_LINKHDR, 0 + 1 + cstate->pcap_fddipad, 6, eaddr); in gen_fhostop()
4047 b0 = gen_fhostop(cstate, eaddr, Q_SRC); in gen_fhostop()
4048 b1 = gen_fhostop(cstate, eaddr, Q_DST); in gen_fhostop()
4054 b0 = gen_fhostop(cstate, eaddr, Q_SRC); in gen_fhostop()
4055 b1 = gen_fhostop(cstate, eaddr, Q_DST); in gen_fhostop()
4091 gen_thostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_thostop() argument
4097 return gen_bcmp(cstate, OR_LINKHDR, 8, 6, eaddr); in gen_thostop()
4100 return gen_bcmp(cstate, OR_LINKHDR, 2, 6, eaddr); in gen_thostop()
4103 b0 = gen_thostop(cstate, eaddr, Q_SRC); in gen_thostop()
4104 b1 = gen_thostop(cstate, eaddr, Q_DST); in gen_thostop()
4110 b0 = gen_thostop(cstate, eaddr, Q_SRC); in gen_thostop()
4111 b1 = gen_thostop(cstate, eaddr, Q_DST); in gen_thostop()
4148 gen_wlanhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_wlanhostop() argument
4198 b0 = gen_bcmp(cstate, OR_LINKHDR, 24, 6, eaddr); in gen_wlanhostop()
4214 b1 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4246 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4284 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4345 b0 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4361 b1 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4398 b1 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4448 b0 = gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr); in gen_wlanhostop()
4496 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4504 return (gen_bcmp(cstate, OR_LINKHDR, 4, 6, eaddr)); in gen_wlanhostop()
4521 b1 = gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_wlanhostop()
4532 b1 = gen_bcmp(cstate, OR_LINKHDR, 16, 6, eaddr); in gen_wlanhostop()
4545 b1 = gen_bcmp(cstate, OR_LINKHDR, 24, 6, eaddr); in gen_wlanhostop()
4550 b0 = gen_wlanhostop(cstate, eaddr, Q_SRC); in gen_wlanhostop()
4551 b1 = gen_wlanhostop(cstate, eaddr, Q_DST); in gen_wlanhostop()
4557 b0 = gen_wlanhostop(cstate, eaddr, Q_SRC); in gen_wlanhostop()
4558 b1 = gen_wlanhostop(cstate, eaddr, Q_DST); in gen_wlanhostop()
4572 gen_ipfchostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ipfchostop() argument
4578 return gen_bcmp(cstate, OR_LINKHDR, 10, 6, eaddr); in gen_ipfchostop()
4581 return gen_bcmp(cstate, OR_LINKHDR, 2, 6, eaddr); in gen_ipfchostop()
4584 b0 = gen_ipfchostop(cstate, eaddr, Q_SRC); in gen_ipfchostop()
4585 b1 = gen_ipfchostop(cstate, eaddr, Q_DST); in gen_ipfchostop()
4591 b0 = gen_ipfchostop(cstate, eaddr, Q_SRC); in gen_ipfchostop()
4592 b1 = gen_ipfchostop(cstate, eaddr, Q_DST); in gen_ipfchostop()
4993 gen_gateway(compiler_state_t *cstate, const u_char *eaddr, in gen_gateway() argument
5013 b0 = gen_ehostop(cstate, eaddr, Q_OR); in gen_gateway()
5018 b0 = gen_fhostop(cstate, eaddr, Q_OR); in gen_gateway()
5021 b0 = gen_thostop(cstate, eaddr, Q_OR); in gen_gateway()
5028 b0 = gen_wlanhostop(cstate, eaddr, Q_OR); in gen_gateway()
5040 b0 = gen_ipfchostop(cstate, eaddr, Q_OR); in gen_gateway()
6321 u_char *eaddr; in gen_scode() local
6356 eaddr = pcap_ether_hostton(name); in gen_scode()
6357 if (eaddr == NULL) in gen_scode()
6361 b = gen_ehostop(cstate, eaddr, dir); in gen_scode()
6364 free(eaddr); in gen_scode()
6368 eaddr = pcap_ether_hostton(name); in gen_scode()
6369 if (eaddr == NULL) in gen_scode()
6372 b = gen_fhostop(cstate, eaddr, dir); in gen_scode()
6373 free(eaddr); in gen_scode()
6377 eaddr = pcap_ether_hostton(name); in gen_scode()
6378 if (eaddr == NULL) in gen_scode()
6381 b = gen_thostop(cstate, eaddr, dir); in gen_scode()
6382 free(eaddr); in gen_scode()
6390 eaddr = pcap_ether_hostton(name); in gen_scode()
6391 if (eaddr == NULL) in gen_scode()
6394 b = gen_wlanhostop(cstate, eaddr, dir); in gen_scode()
6395 free(eaddr); in gen_scode()
6399 eaddr = pcap_ether_hostton(name); in gen_scode()
6400 if (eaddr == NULL) in gen_scode()
6403 b = gen_ipfchostop(cstate, eaddr, dir); in gen_scode()
6404 free(eaddr); in gen_scode()
6578 eaddr = pcap_ether_hostton(name); in gen_scode()
6579 if (eaddr == NULL) in gen_scode()
6586 b = gen_gateway(cstate, eaddr, res, proto, dir); in gen_scode()
6832 gen_ecode(compiler_state_t *cstate, const u_char *eaddr, struct qual q) in gen_ecode() argument
6842 b = gen_ehostop(cstate, eaddr, (int)q.dir); in gen_ecode()
6847 return gen_fhostop(cstate, eaddr, (int)q.dir); in gen_ecode()
6849 return gen_thostop(cstate, eaddr, (int)q.dir); in gen_ecode()
6855 return gen_wlanhostop(cstate, eaddr, (int)q.dir); in gen_ecode()
6857 return gen_ipfchostop(cstate, eaddr, (int)q.dir); in gen_ecode()
8034 gen_acode(compiler_state_t *cstate, const u_char *eaddr, struct qual q) in gen_acode() argument
8042 return (gen_ahostop(cstate, eaddr, (int)q.dir)); in gen_acode()
8056 gen_ahostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ahostop() argument
8063 return gen_bcmp(cstate, OR_LINKHDR, 0, 1, eaddr); in gen_ahostop()
8066 return gen_bcmp(cstate, OR_LINKHDR, 1, 1, eaddr); in gen_ahostop()
8069 b0 = gen_ahostop(cstate, eaddr, Q_SRC); in gen_ahostop()
8070 b1 = gen_ahostop(cstate, eaddr, Q_DST); in gen_ahostop()
8076 b0 = gen_ahostop(cstate, eaddr, Q_SRC); in gen_ahostop()
8077 b1 = gen_ahostop(cstate, eaddr, Q_DST); in gen_ahostop()