HomeSort by: relevance | last modified time | path
    Searched refs:eth (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/external/bsd/wpa/dist/src/l2_packet/
l2_packet_pcap.c 31 eth_t *eth; member in struct:l2_packet_data
55 l2->eth = eth_open(l2->ifname);
56 if (!l2->eth) {
63 if (eth_get(l2->eth, &own_addr) < 0) {
67 eth_close(l2->eth);
68 l2->eth = NULL;
82 struct l2_ethhdr *eth; local
91 ret = eth_send(l2->eth, buf, len);
94 size_t mlen = sizeof(*eth) + len;
95 eth = os_malloc(mlen)
    [all...]
l2_packet_freebsd.c 66 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); local
67 if (eth == NULL)
69 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN);
70 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
71 eth->h_proto = htons(proto);
72 os_memcpy(eth + 1, buf, len);
73 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth));
74 os_free(eth);
    [all...]
l2_packet_winpcap.c 76 struct l2_ethhdr *eth; local
84 size_t mlen = sizeof(*eth) + len;
85 eth = os_malloc(mlen);
86 if (eth == NULL)
89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN);
90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
91 eth->h_proto = htons(proto);
92 os_memcpy(eth + 1, buf, len);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
94 os_free(eth);
    [all...]
l2_packet_ndis.c 96 struct l2_ethhdr *eth; local
116 size_t mlen = sizeof(*eth) + len;
117 eth = os_malloc(mlen);
118 if (eth == NULL)
121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN);
122 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
123 eth->h_proto = htons(proto);
124 os_memcpy(eth + 1, buf, len);
125 res = WriteFile(driver_ndis_get_ndisuio_handle(), eth, mlen,
127 os_free(eth);
    [all...]
l2_packet_linux.c 174 const struct l2_ethhdr *eth = (const struct l2_ethhdr *) buf; local
182 (ether_addr_equal(eth->h_dest, l2->own_addr) ||
183 is_multicast_ether_addr(eth->h_dest))) {
  /src/external/bsd/nsd/dist/
xdp-dns-redirect_kern.c 63 struct ethhdr *eth; local
65 if (!(eth = parse_ethhdr(c)))
68 *eth_proto = eth->h_proto;
86 return eth;
93 struct ethhdr *eth; local
103 if (!(eth = parse_eth(&c, &eth_proto)))
xdp-server.c 177 static inline void swap_eth(struct ethhdr *eth);
642 static inline void swap_eth(struct ethhdr *eth) {
644 memcpy(tmp_mac, eth->h_dest, ETH_ALEN);
645 memcpy(eth->h_dest, eth->h_source, ETH_ALEN);
646 memcpy(eth->h_source, tmp_mac, ETH_ALEN);
746 struct ethhdr *eth = (struct ethhdr *)pkt; local
756 if (*len < (sizeof(*eth) + sizeof(struct iphdr) + sizeof(*udp)))
759 data_before_dnshdr_len = sizeof(*eth) + sizeof(*udp);
761 switch (ntohs(eth->h_proto))
    [all...]
  /src/usr.sbin/npf/npftest/
npfstream.c 40 const struct ether_header *eth = data; local
49 if (ntohs(eth->ether_type) != ETHERTYPE_IP) {
52 p = eth + 1;
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/mediatek/
mt2712-evb.dts 109 &eth {
132 eth_default: eth-default-pins {
159 eth_sleep: eth-sleep-pins {
mt7622-rfb1.dts 104 &eth {
110 compatible = "mediatek,eth-mac";
122 compatible = "mediatek,eth-mac";
315 eth_pins: eth-pins {
317 function = "eth";
mt7622-bananapi-bpi-r64.dts 122 &eth {
125 compatible = "mediatek,eth-mac";
137 compatible = "mediatek,eth-mac";
376 eth_pins: eth-pins {
378 function = "eth";
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/marvell/
dove-sbc-a510.dts 98 &eth { status = "disabled"; };
dove-cm-a510.dtsi 128 &eth {
orion5x-linkstation.dtsi 144 &eth {
orion5x-lswsgl.dts 208 &eth {
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/northstar2/
ns2-xmc.dts 70 gphy0: eth-phy@10 {
ns2-svk.dts 186 gphy0: eth-phy@10 {
  /src/sys/rump/net/lib/libvirtif/
if_virt.c 340 struct ether_header *eth; local
370 eth = mtod(m, struct ether_header *);
371 if (memcmp(eth->ether_dhost, CLLADDR(ifp->if_sadl),
374 } else if (ETHER_IS_MULTICAST(eth->ether_dhost)) {
  /src/external/bsd/ipf/dist/ipsend/
ip.c 163 ether_header_t eth; local
205 bcopy((char *)eh, (char *)&eth, sizeof(eth));
229 bcopy((char *)&eth, ipbuf, sizeof(eth));
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/ti/
Makefile 61 dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-eth-phy.dtbo
93 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
97 k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
122 dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-quad-port-eth-exp1.dtbo
132 k3-am625-phyboard-lyra-disable-eth-phy-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
133 k3-am6xx-phycore-disable-eth-phy.dtbo
167 k3-am642-phyboard-electra-disable-eth-phy-dtbs := \
168 k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-eth-phy.dtbo
197 k3-j784s4-evm-quad-port-eth-exp1-dtbs := k3-j784s4-evm.dtb \
198 k3-j784s4-evm-quad-port-eth-exp1.dtb
    [all...]
  /src/external/bsd/libpcap/dist/msdos/
pktdrvr.h 131 extern BOOL PktTransmit (const void *eth, int len);
pktdrvr.c 444 PUBLIC BOOL PktTransmit (const void *eth, int len)
453 dosmemput (eth, len, realBase+pktTxBuf);
458 memcpy ((void*)(realBase+pktTxBuf), eth, len);
463 memcpy (&pktTxBuf, eth, len);
468 reg.r_ds = FP_SEG (eth);
469 reg.r_si = FP_OFF (eth);
1230 " Eth-addr : %02X:%02X:%02X:%02X:%02X:%02X\n",
  /src/external/gpl2/groff/dist/font/devps/
text.enc 189 Eth 208
221 eth 240
symbolmap 72 Eth -D
183 eth Sd
  /src/external/gpl2/groff/dist/font/devps/generate/
textmap 69 Eth -D
180 eth Sd

Completed in 88 milliseconds

1 2 3