• Home
  • Raw
  • Download

Lines Matching refs:ipx

74 	const struct ipxHdr *ipx = (const struct ipxHdr *)p;  in ipx_print()  local
79 ND_TCHECK(ipx->srcSkt); in ipx_print()
81 ipxaddr_string(EXTRACT_32BITS(ipx->srcNet), ipx->srcNode), in ipx_print()
82 EXTRACT_16BITS(&ipx->srcSkt))); in ipx_print()
85 ipxaddr_string(EXTRACT_32BITS(ipx->dstNet), ipx->dstNode), in ipx_print()
86 EXTRACT_16BITS(&ipx->dstSkt))); in ipx_print()
89 ND_TCHECK(ipx->length); in ipx_print()
90 length = EXTRACT_16BITS(&ipx->length); in ipx_print()
92 ipx_decode(ndo, ipx, p + ipxSize, length - ipxSize); in ipx_print()
110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) in ipx_decode() argument
114 dstSkt = EXTRACT_16BITS(&ipx->dstSkt); in ipx_decode()
150 ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_sap_print() argument
154 ND_TCHECK(ipx[0]); in ipx_sap_print()
155 command = EXTRACT_16BITS(ipx); in ipx_sap_print()
156 ipx++; in ipx_sap_print()
167 ND_TCHECK(ipx[0]); in ipx_sap_print()
168 ND_PRINT((ndo, " %s", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); in ipx_sap_print()
179 ND_TCHECK(ipx[0]); in ipx_sap_print()
180 ND_PRINT((ndo, " %s '", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); in ipx_sap_print()
181 if (fn_printzp(ndo, (const u_char *)&ipx[1], 48, ndo->ndo_snapend)) { in ipx_sap_print()
185 ND_TCHECK2(ipx[25], 10); in ipx_sap_print()
187 ipxaddr_string(EXTRACT_32BITS(&ipx[25]), (const u_char *)&ipx[27]))); in ipx_sap_print()
188 ipx += 32; in ipx_sap_print()
202 ipx_rip_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_rip_print() argument
206 ND_TCHECK(ipx[0]); in ipx_rip_print()
207 command = EXTRACT_16BITS(ipx); in ipx_rip_print()
208 ipx++; in ipx_rip_print()
215 ND_TCHECK(ipx[3]); in ipx_rip_print()
216 ND_PRINT((ndo, " %08x/%d.%d", EXTRACT_32BITS(&ipx[0]), in ipx_rip_print()
217 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3]))); in ipx_rip_print()
223 ND_TCHECK(ipx[3]); in ipx_rip_print()
224 ND_PRINT((ndo, " %08x/%d.%d", EXTRACT_32BITS(&ipx[0]), in ipx_rip_print()
225 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3]))); in ipx_rip_print()
227 ipx += 4; in ipx_rip_print()