Searched defs:linktype (Results 1 - 15 of 15) sorted by relevance

/external/libpcap/
H A Dpcap-enet.c148 initdevice(char *device, int pflag, int *linktype) argument
228 *linktype = DLT_EN10MB;
H A Dsf-pcap.c113 * 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 Dpcap-int.h196 int linktype; /* Network linktype */ member in struct:pcap
197 int linktype_ext; /* Extended information stored in the linktype field of a file */
H A Dpcap-rpcap.h189 int32 linktype; /* Link type */ member in struct:rpcap_openreply
H A Dpcap-sita.c820 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 Dsf-pcap-ng.c132 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 Dpcap-common.c1035 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 Dpcap.c924 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 Dgencode.c187 (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 Dpcap-int.h71 int linktype; member in struct:pcap
/external/libnl/python/netlink/route/
H A Dtc.py152 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 D3c90x.c663 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 D3c90x.h233 enum linktype { enum
/external/libnl/lib/route/
H A Dtc.c293 * 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 Dpcap.h97 * 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

Completed in 426 milliseconds