Searched defs:arp (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Drarp.c35 * @(#) Header: arp.c,v 1.5 93/07/15 05:52:26 leres Exp (LBL)
71 struct ether_arp arp; member in struct:__anon90::__anon91
72 u_char pad[18]; /* 60 - sizeof(arp) */
78 struct ether_arp arp; member in struct:__anon92::__anon93
97 ap = &wbuf.data.arp;
114 ap = &rbuf.data.arp;
H A Darp.c1 /* $NetBSD: arp.c,v 1.18 1997/07/07 15:52:49 drochner Exp $ */
35 * @(#) Header: arp.c,v 1.5 93/07/15 05:52:26 leres Exp (LBL)
55 #define ARP_NUM 8 /* need at most 3 arp entries */
82 struct ether_arp arp; member in struct:__anon43::__anon44
89 struct ether_arp arp; member in struct:__anon45::__anon46
111 ah = &wbuf.data.arp;
129 panic("arp: no response for %s\n",
134 ah = &rbuf.data.arp;
137 printf("arp: response from %s\n",
139 printf("arp
263 struct ether_arp *arp = pkt; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c36 #include <inet/arp.h>
38 #include <netinet/arp.h>
51 * is code for dealing with ioctls and printing out arp header that
92 } arp; local
102 if (mdb_vread(&arp.arh, sizeof (arp.arh), addr) == -1) {
106 mdb_nhconvert(&htype, arp.arh.arh_hardware, sizeof (htype));
107 mdb_nhconvert(&ptype, arp.arh.arh_proto, sizeof (ptype));
108 mdb_nhconvert(&op, arp.arh.arh_operation, sizeof (op));
153 blen = 2 * (arp
[all...]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs4_xdr.c103 char *arp = (char *)&objp->b_bitmap_val; local
104 return (xdr_array(xdrs, (char **)&arp,
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datexit.c104 atexit_root_t *arp; local
111 arp = &__uberdata.atexit_root;
113 arp = &self->ul_uberdata->atexit_root;
114 (void) mutex_lock(&arp->exitfns_lock);
119 p->next = arp->head;
120 arp->head = p;
123 (void) mutex_unlock(&arp->exitfns_lock);
141 atexit_root_t *arp = &curthread->ul_uberdata->atexit_root; local
147 (void) mutex_lock(&arp->exitfns_lock);
150 p = arp
175 atexit_root_t *arp = &curthread->ul_uberdata->atexit_root; local
187 atexit_root_t *arp = &curthread->ul_uberdata->atexit_root; local
328 atexit_root_t *arp = &curthread->ul_uberdata->atexit_root; local
394 quickexit_root_t *arp; local
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_sort_line.c251 free_area_data(struct a_line_area *arp) argument
253 while(arp) {
254 struct a_line_area *next = arp->ala_next;
255 free(arp);
256 arp = next;
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dbitmap.c93 arange_t *arp; local
97 for (arp = cb_physavail; arp->high; arp++) {
99 for (bitno = arp->low; bitno <= arp->high; bitno++) {
103 arp->nfree = cnt;
115 static arange_t *arp; local
119 if (arp == NULL) {
121 arp
421 arange_t *arp; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Darray.c156 static union Value *array_getup(Namval_t *np, Namarr_t *arp, int update) argument
158 register struct index_array *ap = (struct index_array*)arp;
161 if(!arp)
166 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT));
173 return((union Value*)((*arp->fun)(np,NIL(char*),0)));
192 int nv_arrayisset(Namval_t *np, Namarr_t *arp) argument
194 register struct index_array *ap = (struct index_array*)arp;
209 static Namval_t *array_find(Namval_t *np,Namarr_t *arp, int flag) argument
211 register struct index_array *ap = (struct index_array*)arp;
238 mp = (Namval_t*)((*arp
639 array_grow(Namval_t *np, register struct index_array *arp,int maxi) argument
[all...]
H A Dnvtree.c910 Namarr_t *arp = nv_arrayptr(np); local
925 if(arp && !(arp->nelem&ARRAY_SCAN) && (subscript = nv_getsub(np)))
/illumos-gate/usr/src/common/ctf/
H A Dctf_types.c702 ctf_array_info(ctf_file_t *fp, ctf_id_t type, ctf_arinfo_t *arp) argument
718 arp->ctr_contents = ap->cta_contents;
719 arp->ctr_index = ap->cta_index;
720 arp->ctr_nelems = ap->cta_nelems;
H A Dctf_create.c720 ctf_add_array(ctf_file_t *fp, uint_t flag, const ctf_arinfo_t *arp) argument
726 if (arp == NULL)
730 if (ctf_lookup_by_id(&fpd, arp->ctr_contents) == NULL &&
731 ctf_dtd_lookup(fp, arp->ctr_contents) == NULL)
735 if (ctf_lookup_by_id(&fpd, arp->ctr_index) == NULL &&
736 ctf_dtd_lookup(fp, arp->ctr_index) == NULL)
744 dtd->dtd_u.dtu_arr = *arp;
745 ctf_ref_inc(fp, arp->ctr_contents);
746 ctf_ref_inc(fp, arp->ctr_index);
752 ctf_set_array(ctf_file_t *fp, ctf_id_t type, const ctf_arinfo_t *arp) argument
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dar.cc158 static Boolean open_archive(char *filename, register Ar *arp);
159 static void close_archive(register Ar *arp);
160 static Boolean read_archive_dir(register Ar *arp, Name library, char **long_names_table);
161 static void translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table);
180 int process_long_names_member (register Ar *arp, char **long_names_table, char *filename);
258 * open_archive(filename, arp)
265 * arp Pointer to ar file description block
270 open_archive(char *filename, register Ar *arp) argument
277 arp->fd = NULL;
279 if ((fd < 0) || ((arp
353 close_archive(register Ar *arp) argument
377 read_archive_dir(register Ar *arp, Name library, char **long_names_table) argument
565 process_long_names_member(register Ar *arp, char **long_names_table, char *filename) argument
617 translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table) argument
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c310 * We assume here that the arp will be
558 * dummy arp message to handle PR3309 & PR2928
1626 ushort_t fa_hrd; /* arp */
1666 bcopy(arpp, fap, sizeof (*fap)); /* copy first arp to mblk */
1681 * free the fake arp's mblk on sge structure.
1684 pe_free_fake_arp(void *arp) argument
1686 mblk_t *bp = (mblk_t *)(arp);
1692 * extract ip address of nic from first outgoing arp.
1703 bcopy(arpp, &fap, sizeof (fap)); /* copy first arp to buffer */
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c699 mdb_ctf_array_info(mdb_ctf_id_t id, mdb_ctf_arinfo_t *arp) argument
707 set_ctf_id(&arp->mta_contents, idp->mci_fp, car.ctr_contents);
708 set_ctf_id(&arp->mta_index, idp->mci_fp, car.ctr_index);
710 arp->mta_nelems = car.ctr_nelems;
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_ti.c3153 ibcm_search_ar(ibt_ar_t *arp, ibcm_ar_t **arpp) argument
3161 if (tmp->ar.ar_gid.gid_prefix == arp->ar_gid.gid_prefix &&
3162 tmp->ar.ar_gid.gid_guid == arp->ar_gid.gid_guid &&
3163 tmp->ar.ar_pkey == arp->ar_pkey) {
3165 if (tmp->ar.ar_data[i] != arp->ar_data[i])
3172 if (tmp->ar.ar_data[i] != arp->ar_data[i])
3184 ibt_register_ar(ibt_clnt_hdl_t ibt_hdl, ibt_ar_t *arp) argument
3202 arp->ar_pkey, (longlong_t)arp->ar_gid.gid_prefix,
3203 (longlong_t)arp
3378 ibt_deregister_ar(ibt_clnt_hdl_t ibt_hdl, ibt_ar_t *arp) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c13696 mDNSlocal void mDNSCoreReceiveRawARP(mDNS *const m, const ARP_EthIP *const arp, const mDNSInterfaceID InterfaceID) argument
13713 if (mDNSSameOpaque16(arp->op, ARP_op_request) && !mDNSSameIPv4Address(arp->spa, arp->tpa))
13717 rr->AddressProxy.type == mDNSAddrType_IPv4 && mDNSSameIPv4Address(rr->AddressProxy.ip.v4, arp->tpa))
13723 const char *const msg = mDNSSameEthAddress(&arp->sha, &rr->WakeUp.IMAC) ? msg1 :
13725 mDNSSameEthAddress(&arp->sha, &intf->MAC) ? msg3 : msg4;
13727 intf->ifname, msg, &arp->sha, &arp->spa, &arp
[all...]
H A DmDNSEmbeddedAPI.h589 ARP_EthIP arp; member in union:__anon40

Completed in 149 milliseconds