| /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/ |
| H A D | test_client.c | 68 uchar_t chaddr[20]; member 266 mep->chaddr[i] = random() & 0xff; in client() 271 (void) memcpy(crequest.chaddr, mep->chaddr, mep->hlen); in client() 281 (void) memcpy(&optp->value[1], mep->chaddr, mep->hlen); in client() 289 (void) octet_to_hexascii(mep->chaddr, mep->hlen, cid, &cidlen); in client() 605 (void) octet_to_hexascii(mep->chaddr, in client() 627 (mep->chaddr[i] & 0x7); in client() 630 (mep->chaddr[i] & 0x7); in client() 913 if (memcmp(clientp[i].chaddr, irequestp->chaddr, in service() 1065 (void) octet_to_hexascii(clientsp[oldi].chaddr, in sig_handle() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_dhcp.c | 188 (void) sprintf(get_line((char *)dp->chaddr - in interpret_dhcp() 191 dp->chaddr[0], in interpret_dhcp() 192 dp->chaddr[1], in interpret_dhcp() 193 dp->chaddr[2], in interpret_dhcp() 194 dp->chaddr[3], in interpret_dhcp() 195 dp->chaddr[4], in interpret_dhcp() 196 dp->chaddr[5]); in interpret_dhcp()
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/ |
| H A D | logging.c | 75 char macbuf[(sizeof (((PKT *)NULL)->chaddr) * 2) + 1]; in logtrans() 98 (void) octet_to_hexascii(plp->pkt->chaddr, plp->pkt->hlen, macbuf, in logtrans()
|
| H A D | interfaces.c | 126 if (memcmp(alp->pkt->chaddr, blp->pkt->chaddr, in match_plp() 138 if (memcmp(alp->pkt->chaddr, blp->pkt->chaddr, in match_plp() 641 if (plp->pkt->hlen > sizeof (plp->pkt->chaddr)) in monitor_interface() 642 plp->pkt->hlen = sizeof (plp->pkt->chaddr); in monitor_interface() 1412 (set_arp(ifp, dstp, pp->chaddr, pp->hlen, in send_reply()
|
| H A D | generic.c | 83 (void) memcpy(cid, plp->pkt->chaddr, *len); in get_clnt_id() 102 cp = plp->pkt->chaddr; in disp_cid()
|
| H A D | main.c | 790 (void) memcpy(pkt->chaddr, srcpktp->chaddr, srcpktp->hlen); in gen_bootp_pkt()
|
| /onnv-gate/usr/src/cmd/mdb/common/modules/sctp/ |
| H A D | sctp.c | 392 uintptr_t chaddr; in sctp_istr_msgs() local 410 chaddr = (uintptr_t)dmp.b_rptr; in sctp_istr_msgs() 411 if (mdb_vread(&dp, sizeof (dp), chaddr) == -1) in sctp_istr_msgs() 439 uintptr_t chaddr; in sctp_reass_list() local 467 chaddr = (uintptr_t)dmp.b_rptr; in sctp_reass_list() 468 if (mdb_vread(&dp, sizeof (dp), chaddr) == -1) in sctp_reass_list() 492 uintptr_t chaddr; in sctp_uo_reass_list() local 507 chaddr = (uintptr_t)dmp.b_rptr; in sctp_uo_reass_list() 508 if (mdb_vread(&dp, sizeof (dp), chaddr) == -1) in sctp_uo_reass_list()
|
| /onnv-gate/usr/src/uts/common/netinet/ |
| H A D | dhcp.h | 194 uint8_t chaddr[16]; /* Client hardware addr */ member
|
| /onnv-gate/usr/src/stand/lib/inet/ |
| H A D | dhcpv4.c | 140 if (len <= sizeof (p->chaddr)) { in set_hw_spec_data() 142 bcopy(mac_get_addr_buf(), p->chaddr, len); in set_hw_spec_data() 261 bcmp((caddr_t)s->chaddr, (caddr_t)r->chaddr, s->hlen) == 0) { in bootp_collect()
|
| /onnv-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
| H A D | packet.c | 238 if (pif->pif_hwlen <= sizeof (v4->chaddr)) { in init_pkt() 240 (void) memcpy(v4->chaddr, pif->pif_hwaddr, in init_pkt()
|
| H A D | dhcpagent.dfl | 83 # (and hence, the chaddr field is used by the DHCP server as the
|
| /onnv-gate/usr/src/uts/common/io/mac/ |
| H A D | mac_protect.c | 1800 bcmp(mcip->mci_unicast->ma_addr, dh4->chaddr, maclen) != 0) { in dhcpnospoof_check_v4()
|