Home
last modified time | relevance | path

Searched refs:eproto_db (Results 1 – 2 of 2) sorted by relevance

/external/tcpdump/
Daddrtoname.c798 } eproto_db[] = { variable
828 for (i = 0; eproto_db[i].s; i++) { in init_eprotoarray()
829 int j = htons(eproto_db[i].p) & (HASHNAMESIZE-1); in init_eprotoarray()
833 table->name = eproto_db[i].s; in init_eprotoarray()
834 table->addr = htons(eproto_db[i].p); in init_eprotoarray()
866 for (i = 0; eproto_db[i].s; i++) { in init_protoidarray()
867 u_short etype = htons(eproto_db[i].p); in init_protoidarray()
871 tp->p_name = strdup(eproto_db[i].s); in init_protoidarray()
/external/libpcap/
Dnametoaddr.c555 PCAP_API struct eproto eproto_db[]; variable
556 PCAP_API_DEF struct eproto eproto_db[] = { variable
585 struct eproto *p = eproto_db; in pcap_nametoeproto()