Lines Matching refs:ie

547 inittab_encode_e(const dhcp_symbol_t *ie, const char *value, uint16_t *lengthp,
558 uint8_t type_size = inittab_type_to_size(ie);
571 switch (ie->ds_type) {
613 hlen = ie->ds_dhcpv6 ? sizeof (*d6o) : 2;
622 switch (ie->ds_type) {
897 if (n_entries % ie->ds_gran != 0) {
910 if (inet_pton(ie->ds_type == DSYM_IP ? AF_INET :
949 is_signed = (ie->ds_type == DSYM_SNUMBER64 ||
950 ie->ds_type == DSYM_SNUMBER32 ||
951 ie->ds_type == DSYM_SNUMBER16 ||
952 ie->ds_type == DSYM_SNUMBER8);
962 if (ie->ds_type == DSYM_BOOL)
968 ie->ds_type);
979 if (ie->ds_dhcpv6) {
982 d6o->d6o_code = htons(ie->ds_code);
985 result[0] = ie->ds_code;
1010 inittab_decode_e(const dhcp_symbol_t *ie, const uchar_t *payload,
1017 uint8_t type_size = inittab_type_to_size(ie);
1028 if (ie->ds_dhcpv6) {
1045 if (ie->ds_type == DSYM_NUMBER)
1046 n_entries = MIN(ie->ds_max, length / type_size);
1048 n_entries = MIN(ie->ds_max * ie->ds_gran, length / type_size);
1055 "with option type `%i'", ie->ds_type);
1060 switch (ie->ds_type) {
1256 if ((length / type_size) % ie->ds_gran != 0) {
1263 result = malloc(n_entries * (ie->ds_type == DSYM_IP ?
1271 if (ie->ds_type == DSYM_IP) {
1299 is_signed = (ie->ds_type == DSYM_SNUMBER64 ||
1300 ie->ds_type == DSYM_SNUMBER32 ||
1301 ie->ds_type == DSYM_SNUMBER16 ||
1302 ie->ds_type == DSYM_SNUMBER8);
1310 if (decode_number(n_entries, type_size, is_signed, ie->ds_gran,
1319 ie->ds_type);
1339 inittab_encode(const dhcp_symbol_t *ie, const char *value, uint16_t *lengthp,
1344 return (inittab_encode_e(ie, value, lengthp, just_payload, &ierrno));
1360 inittab_decode(const dhcp_symbol_t *ie, const uchar_t *payload, uint16_t length,
1365 return (inittab_decode_e(ie, payload, length, just_payload, &ierrno));
1610 inittab_type_to_size(const dhcp_symbol_t *ie)
1612 switch (ie->ds_type) {
1645 return (ie->ds_gran);