Home
last modified time | relevance | path

Searched refs:arp (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/netbsd-tests/net/arp/
H A Dt_arp.sh113 $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 Darp.c76 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 Drarp.c66 struct ether_arp arp; in rarp_getipaddress() member
85 ap = &wbuf.data.arp; in rarp_getipaddress()
/freebsd/tests/sys/netinet/
H A Darp.sh50 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 DMakefile20 ATF_TESTS_SH= arp \
38 TEST_METADATA.arp+= is_exclusive="true"
/freebsd/tools/test/stress2/misc/
H A Darp.sh38 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 DMakefile3 PROG= arp
4 MAN= arp.4 arp.8
7 SRCS= arp.c
/freebsd/crypto/heimdal/base/
H A Dheimbase.c413 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 Dether.sh162 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 Ddup.sh57 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 DMakefile12 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 Dresend.c91 if (gwip.s_addr && (arp((char *)&gwip, dhost) == -1)) in ip_resend()
105 if (arp((char *)&gwip, in ip_resend()
H A Dip.c62 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 Dipsend.h30 extern int arp(char *, char *);
/freebsd/libexec/rc/rc.d/
H A Dstatic_arp51 arp -S ${arp_args} >/dev/null 2>&1
66 arp -d ${arp_args%%[ ]*} > /dev/null 2>&1
/freebsd/sbin/ipf/iplang/
H A Diplang.h23 typedef struct arp { struct
26 struct arp *arp_next; argument
H A DBNF1 line ::= iface | arp | send | defrouter | ipv4line .
14 arp ::= "arp" "{" arpbodyopts "}" ";" .
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c824 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 Dctf_types.c849 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 Dfbt.c878 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 Dw00t.c404 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 Dnet_common.sh230 atf_check -s exit:0 -o ignore rump.arp -na
274 rump.arp -na
/freebsd/tools/bsdbox/
H A DMakefile.net7 CRUNCH_PROGS_usr.sbin+= arp
/freebsd/sbin/ipf/ipresend/
H A DMakefile3 SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
/freebsd/sbin/dhclient/
H A Ddhclient-script21 ARP=/usr/sbin/arp
50 arp -an -i $interface | \

123