Lines Matching defs:fn
34 void (*fn)(netdissect_options *, const u_char *, const u_char *, const u_char *, const u_char *);
42 void (*fn)(netdissect_options *, const u_char *, const u_char *, int, int);
175 static const struct smbfnsint *fn = &trans2_fns[0];
188 fn = smbfindint(EXTRACT_LE_16BITS(w + 14 * 2), trans2_fns);
191 ND_PRINT((ndo, "%s\n", fn->name));
202 ND_PRINT((ndo, "%s param_length=%d data_length=%d\n", fn->name, pcnt, dcnt));
215 f1 = fn->descript.req_f1;
216 f2 = fn->descript.req_f2;
221 f1 = fn->descript.rep_f1;
222 f2 = fn->descript.rep_f2;
228 if (fn->descript.fn)
229 (*fn->descript.fn)(ndo, param, data, pcnt, dcnt);
801 const struct smbfns *fn;
815 fn = smbfind(command, smb_fns);
820 ND_PRINT((ndo, "SMB PACKET: %s (%s)\n", fn->name, request ? "REQUEST" : "REPLY"));
852 f1 = fn->descript.req_f1;
853 f2 = fn->descript.req_f2;
855 f1 = fn->descript.rep_f1;
856 f2 = fn->descript.rep_f2;
859 if (fn->descript.fn)
860 (*fn->descript.fn)(ndo, words, data, buf, maxbuf);
891 if ((fn->flags & FLG_CHAIN) == 0)
902 fn = smbfind(command, smb_fns);
905 fn->name, request ? "REQUEST" : "REPLY"));