Home
last modified time | relevance | path

Searched refs:class_id (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dclass_id.c163 char *name, *class_id = NULL; in get_class_id() local
192 class_id = malloc(len); in get_class_id()
193 if (class_id == NULL) { in get_class_id()
197 (void) snprintf(class_id, len, "SUNW,%s", name); in get_class_id()
200 class_id = name; in get_class_id()
203 sanitize_class_id(class_id); in get_class_id()
204 return (class_id); in get_class_id()
H A Dagent.h59 extern char *class_id;
H A Dinform.c91 (void) add_pkt_opt(dpkt, CD_CLASS_ID, class_id, in dhcp_inform()
H A DMakefile30 OBJS = adopt.o agent.o async.o bound.o class_id.o defaults.o inform.o \
H A Dagent.c63 char *class_id; variable
230 class_id = get_class_id(); in main()
231 if (class_id != NULL) in main()
232 class_id_len = strlen(class_id); in main()
H A Dselect.c199 (void) add_pkt_opt(dpkt, CD_CLASS_ID, class_id, in dhcp_selecting()
H A Dinit_reboot.c79 (void) add_pkt_opt(dpkt, CD_CLASS_ID, class_id, class_id_len); in dhcp_init_reboot_v4()
H A Drenew.c484 (void) add_pkt_opt(dpkt, CD_CLASS_ID, class_id, in dhcp_extending()
H A Drequest.c306 (void) add_pkt_opt(dpkt, CD_CLASS_ID, class_id, in dhcp_requesting()
/titanic_50/usr/src/uts/common/ipp/ipgpc/
H A Dfilters.c945 insertfid(int filter_id, ipgpc_filter_t *filter, uint_t class_id) in insertfid() argument
950 ipgpc_cid_list[class_id].aclass.class_name)); in insertfid()
951 ipgpc_fid_list[filter_id].class_id = class_id; in insertfid()
1071 unsigned class_id; in ipgpc_addfilter() local
1073 err = class_name2id(&class_id, class_name, ipgpc_num_cls); in ipgpc_addfilter()
1093 insertfid(filter_id, filter, class_id); in ipgpc_addfilter()
1134 (void) ipgpc_list_insert(&ipgpc_cid_list[class_id].filter_list, in ipgpc_addfilter()
1235 int class_id; in ipgpc_addclass() local
1238 if ((err = insertcid(in_class, &class_id)) == EEXIST) { in ipgpc_addclass()
1255 removecid(class_id); in ipgpc_addclass()
[all …]
H A Dclassifier.c175 update_stats(int class_id, uint_t nbytes) in update_stats() argument
181 if (ipgpc_cid_list[class_id].aclass.gather_stats) { in update_stats()
183 SET_STATS(ipgpc_cid_list[class_id].stats.last_match, in update_stats()
185 BUMP_STATS(ipgpc_cid_list[class_id].stats.npackets); in update_stats()
186 UPDATE_STATS(ipgpc_cid_list[class_id].stats.nbytes, in update_stats()
229 int class_id; in ipgpc_classify() local
349 class_id = bestmatch(fid_table, slctrs_srchd); in ipgpc_classify()
353 update_stats(class_id, packet->len); in ipgpc_classify()
354 return (&ipgpc_cid_list[class_id].aclass); in ipgpc_classify()
471 return (ipgpc_fid_list[bestmatch].class_id); in bestmatch()
H A Dclassifier-objects.h248 int class_id; /* id of class associated with filter */ member
/titanic_50/usr/src/uts/common/io/nge/
H A Dnge_log.c128 nge_class_string(uint8_t class_id) in nge_class_string() argument
131 switch (class_id) { in nge_class_string()
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h294 uint8_t class_id; member
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c2339 &cfg_info->class_id); in nxge_rxhash_ioctl()
2343 cfg_info->class_id); in nxge_rxhash_ioctl()
2346 nxge_del_iptun_class(nxgep, cfg_info->class_id); in nxge_rxhash_ioctl()
2350 cfg_info->class_id); in nxge_rxhash_ioctl()
2353 nxge_set_ip_cls_sym(nxgep, cfg_info->class_id, cfg_info->sym); in nxge_rxhash_ioctl()
2356 nxge_get_ip_cls_sym(nxgep, cfg_info->class_id, &cfg_info->sym); in nxge_rxhash_ioctl()
/titanic_50/usr/src/lib/libsysevent/
H A Dlibsysevent.c1019 get_kernel_registration(char *channel_name, uint32_t class_id) in get_kernel_registration() argument
1032 udata.ps_id = class_id; in get_kernel_registration()