Searched refs:d6m (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/common/net/dhcp/ |
H A D | scan.c | 232 const dhcpv6_message_t *d6m; in dhcpv6_pkt_option() local 234 if (plp == NULL || plp->pkt == NULL || plp->len < sizeof (*d6m)) in dhcpv6_pkt_option() 236 d6m = (const dhcpv6_message_t *)plp->pkt; in dhcpv6_pkt_option() 237 return (dhcpv6_find_option(d6m + 1, plp->len - sizeof (*d6m), oldopt, in dhcpv6_pkt_option()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 69 dhcpv6_message_t d6m; in interpret_dhcpv6() local 107 if (len < sizeof (d6m)) { in interpret_dhcpv6() 112 (void) memcpy(&d6m, data, sizeof (d6m)); in interpret_dhcpv6() 114 " xid=%x", DHCPV6_GET_TRANSID(&d6m)); in interpret_dhcpv6() 115 data += sizeof (d6m); in interpret_dhcpv6() 116 len -= sizeof (d6m); in interpret_dhcpv6() 170 if (len < sizeof (d6m)) { in interpret_dhcpv6() 175 (void) memcpy(&d6m, data, sizeof (d6m)); in interpret_dhcpv6() 177 "Transaction ID = %x", DHCPV6_GET_TRANSID(&d6m)); in interpret_dhcpv6() 178 data += sizeof (d6m); in interpret_dhcpv6() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 637 dhcpv6_message_t *d6m; in add_pkt_lif() local 653 d6m = (dhcpv6_message_t *)dpkt->pkt; in add_pkt_lif() 660 while ((d6o = dhcpv6_find_option(d6m + 1, in add_pkt_lif() 661 dpkt->pkt_cur_len - sizeof (*d6m), d6o, DHCPV6_OPT_IA_NA, in add_pkt_lif() 691 if (d6m->d6m_msg_type == DHCPV6_MSG_RELEASE || in add_pkt_lif() 692 d6m->d6m_msg_type == DHCPV6_MSG_DECLINE) { in add_pkt_lif()
|
H A D | agent.c | 850 dhcpv6_message_t *d6m = in ipc_event() local 856 if (d6m->d6m_msg_type == in ipc_event() 858 d6m->d6m_msg_type == in ipc_event() 863 if (optlen > sizeof (*d6m)) in ipc_event() 872 (void) memcpy(d6o + 1, (caddr_t)d6m + in ipc_event()
|