MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sff_8024_show_oui

Function sff_8024_show_oui

dpdk/lib/ethdev/sff_common.c:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void sff_8024_show_oui(const uint8_t *data, int id_offset, struct rte_tel_data *d)
51{
52 char val_string[SFF_ITEM_VAL_COMPOSE_SIZE];
53
54 snprintf(val_string, sizeof(val_string), "%02x:%02x:%02x",
55 data[id_offset], data[(id_offset) + 1], data[(id_offset) + 2]);
56 ssf_add_dict_string(d, "Vendor OUI", val_string);
57}
58
59void sff_8024_show_identifier(const uint8_t *data, int id_offset, struct rte_tel_data *d)
60{

Callers 2

sff_8636_show_ouiFunction · 0.85
sff_8079_show_ouiFunction · 0.85

Calls 2

snprintfFunction · 0.85
ssf_add_dict_stringFunction · 0.85

Tested by

no test coverage detected