/external/libpcap/ |
D | sf-pcap.c | 210 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header() 235 p->linktype = linktype_to_dlt(LT_LINKTYPE(hdr.linktype)); in pcap_check_header() 236 p->linktype_ext = LT_LINKTYPE_EXT(hdr.linktype); in pcap_check_header() 342 if (p->linktype == DLT_EN10MB) { in pcap_check_header() 563 swap_pseudo_headers(p->linktype, hdr, *data); in pcap_next_packet() 569 sf_write_header(pcap_t *p, FILE *fp, int linktype, int thiszone, int snaplen) in sf_write_header() argument 580 hdr.linktype = linktype; in sf_write_header() 608 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) in pcap_setup_dump() argument 624 if (sf_write_header(p, f, linktype, p->tzoff, p->snapshot) == -1) { in pcap_setup_dump() 641 int linktype; in pcap_dump_open() local [all …]
|
D | pcap-common.c | 1007 int linktype; member 1099 return (map[i].linktype); in dlt_to_linktype() 1111 linktype_to_dlt(int linktype) in linktype_to_dlt() argument 1121 if (linktype == LINKTYPE_PFSYNC) in linktype_to_dlt() 1123 if (linktype == LINKTYPE_PKTAP) in linktype_to_dlt() 1130 if (linktype >= LINKTYPE_MATCHING_MIN && in linktype_to_dlt() 1131 linktype <= LINKTYPE_MATCHING_MAX) in linktype_to_dlt() 1132 return (linktype); in linktype_to_dlt() 1137 for (i = 0; map[i].linktype != -1; i++) { in linktype_to_dlt() 1138 if (map[i].linktype == linktype) in linktype_to_dlt() [all …]
|
D | pcap-win32.c | 544 p->linktype = DLT_EN10MB; in pcap_activate_win32() 548 p->linktype = DLT_EN10MB; in pcap_activate_win32() 571 p->linktype = DLT_FDDI; in pcap_activate_win32() 575 p->linktype = DLT_IEEE802; in pcap_activate_win32() 579 p->linktype = DLT_ARCNET; in pcap_activate_win32() 583 p->linktype = DLT_ARCNET; in pcap_activate_win32() 587 p->linktype = DLT_ATM_RFC1483; in pcap_activate_win32() 591 p->linktype = DLT_CHDLC; in pcap_activate_win32() 595 p->linktype = DLT_PPP_SERIAL; in pcap_activate_win32() 599 p->linktype = DLT_NULL; in pcap_activate_win32() [all …]
|
D | pcap-dag.c | 385 if (p->linktype == DLT_ERF) { in dag_read() 445 if (p->linktype == DLT_SUNATM) { in dag_read() 508 if (p->linktype == DLT_MTP2_WITH_PHDR) { in dag_read() 822 handle->linktype = -1; in dag_activate() 1074 p->linktype = dlt; in dag_set_datalink() 1142 p->linktype = 0; 1179 if(!p->linktype) 1180 p->linktype = DLT_CHDLC; 1201 if(!p->linktype) 1202 p->linktype = DLT_EN10MB; [all …]
|
D | pcap-snoop.c | 123 if (p->linktype == DLT_NULL && *((short *)(cp + 2)) == 0) { in pcap_read_snoop() 255 p->linktype = DLT_EN10MB; in pcap_activate_snoop() 290 p->linktype = DLT_FDDI; in pcap_activate_snoop() 294 p->linktype = DLT_RAW; in pcap_activate_snoop() 297 p->linktype = DLT_IP_OVER_FC; in pcap_activate_snoop() 300 p->linktype = DLT_RAW; in pcap_activate_snoop() 303 p->linktype = DLT_NULL; in pcap_activate_snoop()
|
D | pcap-pf.c | 369 p->linktype = DLT_EN10MB; in pcap_activate_pf() 393 p->linktype = DLT_FDDI; in pcap_activate_pf() 398 p->linktype = DLT_SLIP; in pcap_activate_pf() 404 p->linktype = DLT_PPP; in pcap_activate_pf() 414 p->linktype = DLT_EN10MB; in pcap_activate_pf() 421 p->linktype = DLT_IEEE802; in pcap_activate_pf() 445 if (p->linktype == DLT_FDDI) { in pcap_activate_pf()
|
D | sf-pcap-ng.c | 131 u_short linktype; member 880 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header() 914 p->linktype = linktype_to_dlt(idbp->linktype); in pcap_ng_check_header() 1083 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet() 1095 if (p->linktype != idbp->linktype) { in pcap_ng_next_packet() 1098 idbp->linktype); in pcap_ng_next_packet() 1271 swap_pseudo_headers(p->linktype, hdr, *data); in pcap_ng_next_packet()
|
D | pcap-linux.c | 1498 handle->linktype = dlt; 2731 handle->linktype = DLT_RAW; 2771 handle->linktype = DLT_EN10MB; 2776 handle->linktype = DLT_EN3MB; 2780 handle->linktype = DLT_AX25_KISS; 2784 handle->linktype = DLT_PRONET; 2788 handle->linktype = DLT_CHAOS; 2794 handle->linktype = DLT_CAN_SOCKETCAN; 2802 handle->linktype = DLT_IEEE802; 2807 handle->linktype = DLT_ARCNET_LINUX; [all …]
|
D | pcap-common.h | 22 extern int linktype_to_dlt(int linktype); 24 extern void swap_pseudo_headers(int linktype, struct pcap_pkthdr *hdr,
|
D | dlpisubs.c | 217 p->linktype = DLT_EN10MB; in pcap_process_mactype() 241 p->linktype = DLT_FDDI; in pcap_process_mactype() 247 p->linktype = DLT_IEEE802; in pcap_process_mactype() 253 p->linktype = DLT_SUNATM; in pcap_process_mactype()
|
D | gencode.c | 832 linktype = new_linktype; \ 935 static int linktype; variable 958 linktype = outermostlinktype; 1001 switch (linktype) { 1504 if (linktype >= DLT_MATCHING_MIN && 1505 linktype <= DLT_MATCHING_MAX) { 1511 bpf_error("unknown data link type %d", linktype); 2505 if (linktype == DLT_IEEE802_11_RADIO) { in gen_load_802_11_header_len() 2677 if (linktype == DLT_PPI) in gen_ppi_dlt_check() 2860 switch (linktype) { [all …]
|
D | pcap.c | 895 return (p->linktype); in pcap_datalink() 924 **dlt_buffer = p->linktype; in pcap_list_datalinks() 970 if (p->linktype != dlt) in pcap_set_datalink() 996 p->linktype = dlt; in pcap_set_datalink() 1001 p->linktype = dlt; in pcap_set_datalink() 1816 pcap_open_dead_with_tstamp_precision(int linktype, int snaplen, u_int precision) in pcap_open_dead_with_tstamp_precision() argument 1834 p->linktype = linktype; in pcap_open_dead_with_tstamp_precision() 1854 pcap_open_dead(int linktype, int snaplen) in pcap_open_dead() argument 1856 return (pcap_open_dead_with_tstamp_precision(linktype, snaplen, in pcap_open_dead()
|
D | pcap-enet.c | 148 initdevice(char *device, int pflag, int *linktype) in initdevice() argument 228 *linktype = DLT_EN10MB; in initdevice()
|
D | pcap-netfilter-linux.c | 133 if (handle->linktype != DLT_NFLOG) { in netfilter_read_linux() 217 handle->linktype = dlt; in netfilter_set_datalink() 499 handle->linktype = DLT_NFLOG; in netfilter_activate() 508 handle->linktype = DLT_IPV4; in netfilter_activate()
|
D | .gitignore | 25 pcap-linktype.manmisc
|
D | pcap-snf.c | 42 p->linktype = dlt; in snf_set_datalink() 307 p->linktype = DLT_EN10MB; in snf_activate()
|
D | pcap-septel.c | 198 handle->linktype = DLT_MTP2; in septel_activate()
|
D | pcap-int.h | 188 int linktype; /* Network linktype */ member
|
D | pcap-can-linux.c | 153 handle->linktype = DLT_CAN_SOCKETCAN; in can_activate()
|
D | pcap-bt-monitor-linux.c | 167 handle->linktype = DLT_BLUETOOTH_LINUX_MONITOR; in bt_monitor_activate()
|
/external/syslinux/gpxe/src/drivers/net/ |
D | 3c90x.c | 663 unsigned short linktype; in a3c90x_hw_start() local 701 linktype = 0x0008; in a3c90x_hw_start() 704 linktype = linkMII; in a3c90x_hw_start() 708 linktype = link100BaseFX; in a3c90x_hw_start() 712 linktype = link10Base2; in a3c90x_hw_start() 716 linktype = linkAUI; in a3c90x_hw_start() 720 linktype = linkMII; in a3c90x_hw_start() 724 linktype = linkAutoneg; in a3c90x_hw_start() 727 linktype = linkAutoneg; in a3c90x_hw_start() 730 linktype = linkAutoneg; in a3c90x_hw_start() [all …]
|
D | 3c90x.h | 233 enum linktype { enum
|
/external/ppp/pppd/include/ |
D | pcap-int.h | 71 int linktype; member
|
/external/libnl/python/netlink/route/ |
D | tc.py | 152 def linktype(self): member in Tc 155 @linktype.setter 156 def linktype(self, value): member in Tc
|
/external/libnl/lib/route/ |
D | tc.c | 663 uint32_t linktype) in adjust_size() argument 668 switch (linktype) { in adjust_size() 695 uint32_t linktype = rtnl_tc_get_linktype(tc); in rtnl_tc_build_rate_table() local 717 size = adjust_size((i + 1) << cell_log, spec->rs_mpu, linktype); in rtnl_tc_build_rate_table()
|