/external/libpcap/ |
H A D | pcap-enet.c | 148 initdevice(char *device, int pflag, int *linktype) argument 228 *linktype = DLT_EN10MB;
|
H A D | sf-pcap.c | 113 * 6 bits of a linktype value in a capture file. 210 hdr.linktype = SWAPLONG(hdr.linktype); 258 p->linktype = linktype_to_dlt(LT_LINKTYPE(hdr.linktype)); 259 p->linktype_ext = LT_LINKTYPE_EXT(hdr.linktype); 365 if (p->linktype == DLT_EN10MB) { 616 swap_pseudo_headers(p->linktype, hdr, *data); 622 sf_write_header(pcap_t *p, FILE *fp, int linktype, int thiszone, int snaplen) argument 633 hdr.linktype 661 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) argument 694 int linktype; local 744 int linktype; local 762 int linktype; local [all...] |
H A D | pcap-int.h | 196 int linktype; /* Network linktype */ member in struct:pcap 197 int linktype_ext; /* Extended information stored in the linktype field of a file */
|
H A D | pcap-rpcap.h | 189 int32 linktype; /* Link type */ member in struct:rpcap_openreply
|
H A D | pcap-sita.c | 820 static int acn_open_live(const char *name, char *errbuf, int *linktype) { /* returns 0 on error, else returns the file descriptor */ argument 834 *linktype = p->iftype; 992 &handle->linktype);
|
H A D | sf-pcap-ng.c | 132 u_short linktype; member in struct:interface_description_block 943 idbp->linktype = SWAPSHORT(idbp->linktype); 989 p->linktype = linktype_to_dlt(idbp->linktype); 1158 idbp->linktype = SWAPSHORT(idbp->linktype); 1170 if (p->linktype != idbp->linktype) { 1173 idbp->linktype); [all...] |
H A D | pcap-common.c | 1035 int linktype; member in struct:linktype_map 1127 return (map[i].linktype); 1139 linktype_to_dlt(int linktype) argument 1149 if (linktype == LINKTYPE_PFSYNC) 1151 if (linktype == LINKTYPE_PKTAP) 1158 if (linktype >= LINKTYPE_MATCHING_MIN && 1159 linktype <= LINKTYPE_MATCHING_MAX) 1160 return (linktype); 1165 for (i = 0; map[i].linktype != -1; i++) { 1166 if (map[i].linktype 1436 swap_pseudo_headers(int linktype, struct pcap_pkthdr *hdr, u_char *data) argument [all...] |
H A D | pcap.c | 924 return (p->linktype); 953 **dlt_buffer = p->linktype; 1002 if (p->linktype != dlt) 1028 p->linktype = dlt; 1033 p->linktype = dlt; 2022 pcap_open_dead_with_tstamp_precision(int linktype, int snaplen, u_int precision) argument 2040 p->linktype = linktype; 2069 pcap_open_dead(int linktype, int snaplen) argument 2071 return (pcap_open_dead_with_tstamp_precision(linktype, snaple [all...] |
H A D | gencode.c | 187 (cs)->prevlinktype = (cs)->linktype; \ 189 (cs)->linktype = (new_linktype); \ 266 int linktype; member in struct:_compiler_state 1044 cstate->linktype = cstate->outermostlinktype; 1087 switch (cstate->linktype) { 1590 if (cstate->linktype >= DLT_MATCHING_MIN && 1591 cstate->linktype <= DLT_MATCHING_MAX) { 1597 bpf_error(cstate, "unknown data link type %d", cstate->linktype); 2013 if (cstate->linktype == DLT_NULL || cstate->linktype [all...] |
/external/ppp/pppd/include/ |
H A D | pcap-int.h | 71 int linktype; member in struct:pcap
|
/external/libnl/python/netlink/route/ |
H A D | tc.py | 152 def linktype(self): member in class:Tc 155 @linktype.setter 156 def linktype(self, value): member in class:Tc 212 return '{t|mtu} {t|mpu} {t|overhead} {t|linktype}'
|
/external/syslinux/gpxe/src/drivers/net/ |
H A D | 3c90x.c | 663 unsigned short linktype; local 701 linktype = 0x0008; 704 linktype = linkMII; 708 linktype = link100BaseFX; 712 linktype = link10Base2; 716 linktype = linkAUI; 720 linktype = linkMII; 724 linktype = linkAutoneg; 727 linktype = linkAutoneg; 730 linktype [all...] |
H A D | 3c90x.h | 233 enum linktype { enum
|
/external/libnl/lib/route/ |
H A D | tc.c | 293 * retrieve sane default values for the the MTU and the linktype. 433 * Set the linktype of a traffic control object 440 * necessary to set the linktype manually. This function is provided to 441 * allow overwriting the linktype. 450 * Return the linktype of a traffic control object 453 * Returns the linktype of the link the traffic control object is attached to: 663 uint32_t linktype) 668 switch (linktype) { 695 uint32_t linktype = rtnl_tc_get_linktype(tc); local 717 size = adjust_size((i + 1) << cell_log, spec->rs_mpu, linktype); 662 adjust_size(unsigned int size, unsigned int mpu, uint32_t linktype) argument [all...] |
/external/libpcap/pcap/ |
H A D | pcap.h | 97 * LINKTYPE_ values, as defined in "savefile.c", in the "linktype" 131 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ member in struct:pcap_file_header
|