Lines Matching refs:u_short
305 u_short ipm_void;
306 u_short ipm_nextmtu;
342 u_short ident;
343 u_short port; /* protocol specific base "port" */
370 u_short in_cksum(u_short *, int);
374 u_short p_cksum(struct ip *, u_short *, int, int);
412 u_short hdrlen; /* max size of protocol header */
413 u_short port; /* default base protocol-specific "port" */
481 2 * sizeof(u_short),
507 register u_short off = 0;
627 requestPort = (u_short)str2val(optarg, "port",
1225 register const u_short *sp;
1228 sp = (u_short *)outip;
1229 nshorts = (u_int)packlen / sizeof(u_short);
1394 icmpheader->icmp_cksum = in_cksum((u_short *)icmpheader, protlen);
1415 outudp->uh_ulen = htons((u_short)protlen);
1418 u_short sum = p_cksum(outip, (u_short*)outudp, protlen, protlen);
1444 u_short sum = p_cksum(outip, (u_short*)outudp, protlen, 8);
1474 tcp->th_sum = p_cksum(outip, (u_short*)tcp, protlen, protlen);
1594 u_short
1595 p_cksum(struct ip *ip, u_short *data, int len, int cov)
1598 u_short sum[2];
1605 sum[1] = in_cksum((u_short*)&ipo, sizeof(ipo)); /* pseudo ip hdr cksum */
1614 u_short
1615 in_cksum(register u_short *addr, register int len)
1618 register u_short *w = addr;
1619 register u_short answer;