/freebsd/contrib/netbsd-tests/net/arp/ |
H A D | t_arp.sh | 113 $DEBUG && rump.arp -n -a 123 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.arp.keep=$keep 133 $DEBUG && rump.arp -n -a 134 atf_check -s exit:0 -o ignore rump.arp -n $IP4SRC 135 atf_check -s not-exit:0 -e ignore rump.arp -n $IP4DST 155 $DEBUG && rump.arp -n -a 156 atf_check -s exit:0 -o ignore rump.arp -n $IP4SRC 158 atf_check -s exit:0 -o ignore rump.arp -n $IP4DST 162 $DEBUG && rump.arp -n -a 163 atf_check -s exit:0 -o ignore rump.arp -n $IP4SRC [all …]
|
/freebsd/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 256 if (arp->arp_hrd != htons(ARPHRD_ETHER) || in arp_reply() 257 arp->arp_pro != htons(ETHERTYPE_IP) || in arp_reply() 258 arp->arp_hln != sizeof(arp->arp_sha) || in arp_reply() 259 arp->arp_pln != sizeof(arp->arp_spa) ) in arp_reply() 268 if (arp->arp_op != htons(ARPOP_REQUEST)) { in arp_reply() 277 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa))) in arp_reply() 282 printf("arp_reply: to %s\n", ether_sprintf(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/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 81 …atf_check -s exit:1 -o match:"198.51.100.2 \(198.51.100.2\) -- no entry" jexec ${jname} arp -n 198… 112 jexec ${jname} arp -an 155 jexec ${jname}a arp -n ${ipb} 163 jexec ${jname}a arp -n ${ipb} 206 atf_check jexec ${jname}a arp -s ${ipb} 0:0:0:0:0:0 209 atf_check -o "inline:${permanent}" jexec ${jname}a arp -n ${ipb} 218 atf_check -o "inline:${deleted}" jexec ${jname}a arp -nd ${ipb} [all …]
|
H A D | Makefile | 20 ATF_TESTS_SH= arp \ 38 TEST_METADATA.arp+= is_exclusive="true"
|
/freebsd/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/usr.sbin/arp/ |
H A D | Makefile | 3 PROG= arp 4 MAN= arp.4 arp.8 7 SRCS= arp.c
|
/freebsd/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/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/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 | 91 if (gwip.s_addr && (arp((char *)&gwip, dhost) == -1)) in ip_resend() 105 if (arp((char *)&gwip, in ip_resend()
|
H A D | ip.c | 62 else if (arp((char *)&gwip, (char *) &eh->ether_dhost) == -1) in send_ether() 104 else if (arp((char *)&gwip, (char *) &eh->ether_dhost) == -1) in send_ip() 126 (void) arp((char *)&ip->ip_src, (char *) &local_arp); in send_ip()
|
H A D | ipsend.h | 30 extern int arp(char *, char *);
|
/freebsd/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/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/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 824 ctf_add_array(ctf_file_t *fp, uint_t flag, const ctf_arinfo_t *arp) in ctf_add_array() argument 830 if (arp == NULL) in ctf_add_array() 834 if (ctf_lookup_by_id(&fpd, arp->ctr_contents) == NULL && in ctf_add_array() 835 ctf_dtd_lookup(fp, arp->ctr_contents) == NULL) in ctf_add_array() 839 if (ctf_lookup_by_id(&fpd, arp->ctr_index) == 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() 856 ctf_set_array(ctf_file_t *fp, ctf_id_t type, const ctf_arinfo_t *arp) in ctf_set_array() argument [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/sys/cddl/dev/fbt/ |
H A D | fbt.c | 878 fbt_array_info(linker_ctf_t *lc, ctf_id_t type, ctf_arinfo_t *arp) in fbt_array_info() argument 885 bzero(arp, sizeof(*arp)); in fbt_array_info() 900 arp->ctr_contents = ap->cta_contents; in fbt_array_info() 901 arp->ctr_index = ap->cta_index; in fbt_array_info() 902 arp->ctr_nelems = ap->cta_nelems; in fbt_array_info() 907 arp->ctr_contents = ap->cta_contents; in fbt_array_info() 908 arp->ctr_index = ap->cta_index; in fbt_array_info() 909 arp->ctr_nelems = ap->cta_nelems; in fbt_array_info()
|
/freebsd/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/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/tools/bsdbox/ |
H A D | Makefile.net | 7 CRUNCH_PROGS_usr.sbin+= arp
|
/freebsd/sbin/ipf/ipresend/ |
H A D | Makefile | 3 SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
|
/freebsd/sbin/dhclient/ |
H A D | dhclient-script | 21 ARP=/usr/sbin/arp 50 arp -an -i $interface | \
|