| /freebsd-14.2/contrib/netbsd-tests/net/arp/ |
| H A D | t_arp.sh | 113 $DEBUG && rump.arp -n -a 133 $DEBUG && rump.arp -n -a 155 $DEBUG && rump.arp -n -a 162 $DEBUG && rump.arp -n -a 199 $DEBUG && rump.arp -n -a 201 $DEBUG && rump.arp -n -a 205 $DEBUG && rump.arp -n -a 216 $DEBUG && rump.arp -n -a 218 $DEBUG && rump.arp -n -a 238 $DEBUG && rump.arp -n -a [all …]
|
| /freebsd-14.2/stand/libsa/ |
| H A D | arp.c | 76 struct ether_arp arp; in arpwhohas() member 98 ah = &wbuf.data.arp; in arpwhohas() 254 struct ether_arp *arp = pkt; in arp_reply() local 258 arp->arp_hln != sizeof(arp->arp_sha) || in arp_reply() 259 arp->arp_pln != sizeof(arp->arp_spa) ) in arp_reply() 277 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa))) in arp_reply() 286 arp->arp_op = htons(ARPOP_REPLY); in arp_reply() 288 bcopy(arp->arp_sha, arp->arp_tha, sizeof(arp->arp_tha)); in arp_reply() 289 bcopy(arp->arp_spa, arp->arp_tpa, sizeof(arp->arp_tpa)); in arp_reply() 291 bcopy(d->myea, arp->arp_sha, sizeof(arp->arp_sha)); in arp_reply() [all …]
|
| H A D | rarp.c | 66 struct ether_arp arp; in rarp_getipaddress() member 85 ap = &wbuf.data.arp; in rarp_getipaddress()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | arp.sh | 38 while [ $((`date +%s` - start)) -lt 120 ]; do arp -da > /dev/null 2>&1; done & 45 n=`pgrep -f arp.sh | wc -l` 51 ps -l | grep -v grep | grep arp 52 pgrep arp | xargs procstat -k 53 while pkill arp; do :; done
|
| /freebsd-14.2/usr.sbin/arp/ |
| H A D | Makefile | 5 PROG= arp 6 MAN= arp.4 arp.8 9 SRCS= arp.c
|
| /freebsd-14.2/tests/sys/netinet/ |
| H A D | arp.sh | 50 atf_check jexec ${jname} arp -s 198.51.100.2 90:10:00:01:02:03 52 …98.51.100.2\) at 90:10:00:01:02:03 on ${epair0}a permanent" jexec ${jname} arp -ni ${epair0}a 198.… 80 atf_check -o match:"198.51.100.2 \(198.51.100.2\) deleted" jexec ${jname} arp -nd 198.51.100.2 111 jexec ${jname} arp -an
|
| H A D | Makefile | 16 ATF_TESTS_SH= arp \ 30 TEST_METADATA.arp+= is_exclusive="true"
|
| /freebsd-14.2/crypto/heimdal/base/ |
| H A D | heimbase.c | 413 struct ar_tls *arp; in autorel_tls() local 420 arp = HEIMDAL_getspecific(ar_key); in autorel_tls() 421 if (arp == NULL) { in autorel_tls() 423 arp = calloc(1, sizeof(*arp)); in autorel_tls() 424 if (arp == NULL) in autorel_tls() 426 HEIMDAL_setspecific(ar_key, arp, ret); in autorel_tls() 428 free(arp); in autorel_tls() 432 return arp; in autorel_tls()
|
| /freebsd-14.2/tests/sys/netpfil/pf/ |
| H A D | ether.sh | 162 arp -d 192.0.2.2 196 arp -d 192.0.2.2 197 jexec alcatraz arp -d 192.0.2.1 203 mac=$(arp -an --libxo json \ 209 arp -d 192.0.2.2 210 jexec alcatraz arp -d 192.0.2.1 216 mac=$(arp -an --libxo json \ 226 arp -d 192.0.2.2 227 jexec alcatraz arp -d 192.0.2.1 233 mac=$(jexec alcatraz arp -an --libxo json \ [all …]
|
| H A D | dup.sh | 57 jexec alcatraz arp -s 198.51.100.3 00:01:02:03:04:05 58 jexec alcatraz arp -s 203.0.113.3 01:02:03:04:05:06
|
| /freebsd-14.2/sbin/ipf/ipsend/ |
| H A D | Makefile | 12 SUNOS4=sock.o arp.o inet_addr.o 13 BSD=sock.o 44arp.o 17 SUNOS5=dlcommon.o sdlpi.o arp.o inet_addr.o 18 ULTRIX=ultrix.o sock.o arp.o inet_addr.o 19 HPUX=hpux.o sock.o arp.o inet_addr.o
|
| H A D | resend.c | 95 if (gwip.s_addr && (arp((char *)&gwip, dhost) == -1)) in ip_resend() 109 if (arp((char *)&gwip, in ip_resend()
|
| H A D | ip.c | 66 else if (arp((char *)&gwip, (char *) &eh->ether_dhost) == -1) in send_ether() 108 else if (arp((char *)&gwip, (char *) &eh->ether_dhost) == -1) in send_ip() 130 (void) arp((char *)&ip->ip_src, (char *) &local_arp); in send_ip()
|
| H A D | ipsend.h | 30 extern int arp(char *, char *);
|
| /freebsd-14.2/libexec/rc/rc.d/ |
| H A D | static_arp | 51 arp -S ${arp_args} >/dev/null 2>&1 66 arp -d ${arp_args%%[ ]*} > /dev/null 2>&1
|
| /freebsd-14.2/sbin/ipf/iplang/ |
| H A D | iplang.h | 23 typedef struct arp { struct 26 struct arp *arp_next; argument
|
| H A D | BNF | 1 line ::= iface | arp | send | defrouter | ipv4line . 14 arp ::= "arp" "{" arpbodyopts "}" ";" .
|
| /freebsd-14.2/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_create.c | 830 if (arp == NULL) in ctf_add_array() 835 ctf_dtd_lookup(fp, arp->ctr_contents) == NULL) in ctf_add_array() 840 ctf_dtd_lookup(fp, arp->ctr_index) == NULL) in ctf_add_array() 848 dtd->dtd_u.dtu_arr = *arp; in ctf_add_array() 849 ctf_ref_inc(fp, arp->ctr_contents); in ctf_add_array() 850 ctf_ref_inc(fp, arp->ctr_index); in ctf_add_array() 870 ctf_dtd_lookup(fp, arp->ctr_contents) == NULL) in ctf_set_array() 875 ctf_dtd_lookup(fp, arp->ctr_index) == NULL) in ctf_set_array() 881 dtd->dtd_u.dtu_arr = *arp; in ctf_set_array() 882 ctf_ref_inc(fp, arp->ctr_contents); in ctf_set_array() [all …]
|
| H A D | ctf_types.c | 849 ctf_array_info(ctf_file_t *fp, ctf_id_t type, ctf_arinfo_t *arp) in ctf_array_info() argument 870 arp->ctr_contents = ap2->cta_contents; in ctf_array_info() 871 arp->ctr_index = ap2->cta_index; in ctf_array_info() 872 arp->ctr_nelems = ap2->cta_nelems; in ctf_array_info() 876 arp->ctr_contents = ap3->cta_contents; in ctf_array_info() 877 arp->ctr_index = ap3->cta_index; in ctf_array_info() 878 arp->ctr_nelems = ap3->cta_nelems; in ctf_array_info()
|
| /freebsd-14.2/sys/cddl/dev/fbt/ |
| H A D | fbt.c | 872 fbt_array_info(linker_ctf_t *lc, ctf_id_t type, ctf_arinfo_t *arp) in fbt_array_info() argument 879 bzero(arp, sizeof(*arp)); in fbt_array_info() 894 arp->ctr_contents = ap->cta_contents; in fbt_array_info() 895 arp->ctr_index = ap->cta_index; in fbt_array_info() 896 arp->ctr_nelems = ap->cta_nelems; in fbt_array_info() 901 arp->ctr_contents = ap->cta_contents; in fbt_array_info() 902 arp->ctr_index = ap->cta_index; in fbt_array_info() 903 arp->ctr_nelems = ap->cta_nelems; in fbt_array_info()
|
| /freebsd-14.2/tools/tools/net80211/w00t/libw00t/ |
| H A D | w00t.c | 404 int arp; in known_pt() local 406 arp = is_arp(wh, *len); in known_pt() 408 if (arp) in known_pt()
|
| /freebsd-14.2/tools/bsdbox/ |
| H A D | Makefile.net | 7 CRUNCH_PROGS_usr.sbin+= arp
|
| /freebsd-14.2/sbin/ipf/ipresend/ |
| H A D | Makefile | 4 SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
|
| /freebsd-14.2/contrib/netbsd-tests/net/ |
| H A D | net_common.sh | 230 atf_check -s exit:0 -o ignore rump.arp -na 274 rump.arp -na
|
| /freebsd-14.2/sbin/dhclient/ |
| H A D | dhclient-script | 21 ARP=/usr/sbin/arp 50 arp -an -i $interface | \
|