Lines Matching refs:id
34 int id;
102 const char * ll_proto_n2a(unsigned short id, char *buf, int len)
106 id = ntohs(id);
109 if (llproto_names[i].id == id)
112 snprintf(buf, len, "[%d]", id);
116 int ll_proto_a2n(unsigned short *id, char *buf)
121 *id = htons(llproto_names[i].id);
125 if (get_u16(id, buf, 0))
127 *id = htons(*id);