/dports/net/yggdrasil/yggdrasil-go-0.3.11/src/tuntap/ |
H A D | icmpv6.go | 30 mymac net.HardwareAddr member 69 i.mymac = net.HardwareAddr{ 74 copy(i.mymac[:], i.tun.addr[:]) 125 copy(dataout[6:12], i.mymac[:]) 234 copy(dataout[6:12], i.mymac[:]) 332 copy(payload[22:28], i.mymac[:6]) // Link layer address 382 copy(body[22:28], i.mymac[:6])
|
H A D | iface.go | 79 w.tun.icmpv6.mymac[:6], // Source MAC address
|
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/ |
H A D | tcpliveplay.c | 155 struct mac_addr mymac; in main() local 1020 etherhdr->ether_shost[0] = mymac->byte1; in rewrite() 1021 etherhdr->ether_shost[1] = mymac->byte2; in rewrite() 1022 etherhdr->ether_shost[2] = mymac->byte3; in rewrite() 1023 etherhdr->ether_shost[3] = mymac->byte4; in rewrite() 1024 etherhdr->ether_shost[4] = mymac->byte5; in rewrite() 1025 etherhdr->ether_shost[5] = mymac->byte6; in rewrite() 1046 etherhdr->ether_dhost[0] = mymac->byte1; in rewrite() 1047 etherhdr->ether_dhost[1] = mymac->byte2; in rewrite() 1048 etherhdr->ether_dhost[2] = mymac->byte3; in rewrite() [all …]
|
/dports/net/scapy/scapy-2.4.5/scapy/contrib/ |
H A D | dtp.py | 111 def negotiate_trunk(iface=conf.iface, mymac=str(RandMAC())): argument 113 p = Dot3(src=mymac, dst="01:00:0c:cc:cc:cc") / LLC() 115 … p /= DTP(tlvlist=[DTPDomain(), DTPStatus(), DTPType(), DTPNeighbor(neighbor=mymac)]) # noqa: E501
|
/dports/security/tinc/tinc-1.0.36/src/cygwin/ |
H A D | device.c | 166 …f(!DeviceIoControl(device_handle, TAP_IOCTL_GET_MAC, mymac.x, sizeof(mymac.x), mymac.x, sizeof(mym… in setup_device()
|
/dports/security/tinc/tinc-1.0.36/src/mingw/ |
H A D | device.c | 211 …f(!DeviceIoControl(device_handle, TAP_IOCTL_GET_MAC, mymac.x, sizeof(mymac.x), mymac.x, sizeof(mym… in setup_device()
|
/dports/net/nast/nast-0.2.0/ |
H A D | fgw.c | 43 u_char mymac[6]; in fgw() local 89 for (i=0; i<6; i++) mymac[i]=tmpmac->ether_addr_octet[i]; in fgw() 131 if ((ptag = libnet_build_ethernet (uphost[k].mac, mymac, 0x0800, NULL, 0, l, ptag))==-1) in fgw()
|
H A D | flink.c | 31 struct libnet_ether_addr *mymac; in flink() local 93 if (!(mymac = libnet_get_hwaddr(l))) in flink() 100 mac_src[k]=mymac->ether_addr_octet[k]; in flink()
|
/dports/security/tinc-devel/tinc-1.1pre18/src/mingw/ |
H A D | device.c | 225 …f(!DeviceIoControl(device_handle, TAP_IOCTL_GET_MAC, mymac.x, sizeof(mymac.x), mymac.x, sizeof(mym… in setup_device()
|
/dports/net/wackamole/wackamole-2.1.5/ |
H A D | ife-icmp-support.h | 4 void compose_ping(unsigned char *buf, unsigned char *mymac, unsigned char *rmmac, u_int32_t new_ip,…
|
/dports/security/tinc/tinc-1.0.36/src/ |
H A D | route.h | 54 extern mac_t mymac;
|
H A D | route.c | 44 mac_t mymac = {{0xFE, 0xFD, 0, 0, 0, 0}}; variable 812 memcpy(mymac.x, packet->data + ETH_ALEN, ETH_ALEN); in route_neighborsol() 970 memcpy(mymac.x, packet->data + ETH_ALEN, ETH_ALEN); in route_arp()
|
/dports/security/tinc-devel/tinc-1.1pre18/src/ |
H A D | route.h | 55 extern mac_t mymac;
|
H A D | route.c | 44 mac_t mymac = {{0xFE, 0xFD, 0, 0, 0, 0}}; variable 834 memcpy(mymac.x, DATA(packet) + ETH_ALEN, ETH_ALEN); in route_neighborsol() 975 memcpy(mymac.x, DATA(packet) + ETH_ALEN, ETH_ALEN); in route_arp()
|
/dports/textproc/mdocml/mandoc-1.14.5/regress/roff/cond/ |
H A D | string.out_ascii | 12 mymac not yet defined
|
/dports/security/ipguard/ipguard-1.04/ |
H A D | ipguard.h | 95 bnew, bgrat, mymac, fake, pfake, nzh, nbe, mis; variable
|
H A D | ipguard.c | 89 btip = bnew = bgrat = mymac = fake = pfake = nzh = nbe = mis = 0; in main()
|
H A D | packet.c | 366 mymac++; return; in packet_check() 563 good+mymac+fake+pfake+grat+wgrat+zmac+zip, bnew, bmac, bsip, btip, all); in packet_check() 650 snprintf(s, 64, "My/Fake/PreFake MAC %u/%u/%u", mymac, fake, pfake); in stat_dump()
|
/dports/net-mgmt/kismet/kismet-2016-07-R1/ |
H A D | filtercore.cc | 244 mac_addr mymac = ltop.data.c_str(); in AddFilterLine() local 246 if (mymac.error) { in AddFilterLine() 261 (local_maps[mtype]).push_back(mymac); in AddFilterLine()
|
/dports/security/tinc-devel/tinc-1.1pre18/src/linux/ |
H A D | device.c | 125 memcpy(mymac.x, ifr_mac.ifr_hwaddr.sa_data, ETH_ALEN); in setup_device()
|
/dports/security/tinc/tinc-1.0.36/src/linux/ |
H A D | device.c | 151 memcpy(mymac.x, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in setup_device()
|
/dports/security/tinc-devel/tinc-1.1pre18/src/bsd/ |
H A D | device.c | 324 ioctl(device_fd, SIOCGIFADDR, mymac.x); in setup_device()
|
/dports/security/tinc/tinc-1.0.36/src/bsd/ |
H A D | device.c | 326 ioctl(device_fd, SIOCGIFADDR, mymac.x); in setup_device()
|
/dports/net-mgmt/aircrack-ng/aircrack-ng-1.5.2/src/ |
H A D | airbase-ng.c | 1812 static int set_final_arp(unsigned char * buf, unsigned char * mymac) in set_final_arp() argument 1824 memcpy(buf + 6, mymac, 6); // sender mac in set_final_arp() 1845 static int set_final_ip(unsigned char * buf, unsigned char * mymac) in set_final_ip() argument 1855 memcpy(buf + 4, mymac, 6); // sender mac in set_final_ip()
|
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger/macro-debugger/ |
H A D | macro-debugger.scrbl | 163 (define-syntax (mymac stx) 171 (mymac 37 (+ 1 2))
|