/freebsd-10.1-release/sys/kern/ |
H A D | subr_unit.c | 199 check_unrhdr(struct unrhdr *uh, int line) argument 205 y = uh->first; 207 TAILQ_FOREACH(up, &uh->head, list) { 209 if (up->ptr != uh && up->ptr != NULL) { 226 KASSERT (y == uh->busy, 228 uh->busy, y, line)); 229 KASSERT (z == uh->alloc, 231 uh->alloc, z, line)); 237 check_unrhdr(struct unrhdr *uh, int line) argument 251 new_unr(struct unrhdr *uh, voi argument 269 delete_unr(struct unrhdr *uh, void *ptr) argument 279 clean_unrhdrl(struct unrhdr *uh) argument 294 clean_unrhdr(struct unrhdr *uh) argument 303 init_unrhdr(struct unrhdr *uh, int low, int high, struct mtx *mutex) argument 330 struct unrhdr *uh; local 338 delete_unrhdr(struct unrhdr *uh) argument 350 is_bitmap(struct unrhdr *uh, struct unr *up) argument 365 optimize_unr(struct unrhdr *uh) argument 489 collapse_unr(struct unrhdr *uh, struct unr *up) argument 561 alloc_unrl(struct unrhdr *uh) argument 611 alloc_unr(struct unrhdr *uh) argument 623 alloc_unr_specificl(struct unrhdr *uh, u_int item, void **p1, void **p2) argument 726 alloc_unr_specific(struct unrhdr *uh, u_int item) argument 754 free_unrl(struct unrhdr *uh, u_int item, void **p1, void **p2) argument 863 free_unr(struct unrhdr *uh, u_int item) argument 887 print_unr(struct unrhdr *uh, struct unr *up) argument 911 print_unrhdr(struct unrhdr *uh) argument 931 test_alloc_unr(struct unrhdr *uh, u_int i, char a[]) argument 951 test_alloc_unr_specific(struct unrhdr *uh, u_int i, char a[]) argument 972 struct unrhdr *uh; local [all...] |
H A D | kern_umtx.c | 516 struct umtxq_queue *uh; local 521 LIST_FOREACH(uh, &uc->uc_queue[q], link) { 522 if (umtx_key_match(&uh->key, key)) 523 return (uh); 532 struct umtxq_queue *uh; local 538 uh = umtxq_queue_lookup(&uq->uq_key, q); 539 if (uh != NULL) { 542 uh = uq->uq_spare_queue; 543 uh->key = uq->uq_key; 544 LIST_INSERT_HEAD(&uc->uc_queue[q], uh, lin 567 struct umtxq_queue *uh; local 600 struct umtxq_queue *uh; local 618 struct umtxq_queue *uh; local 665 struct umtxq_queue *uh; local [all...] |
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-usb.c | 84 usb_header_print(const pcap_usb_header *uh) argument 88 switch(uh->transfer_type) 106 switch(uh->event_type) 121 direction = get_direction(uh->transfer_type, uh->event_type); 126 printf(" %d:%d:%d", uh->bus_id, uh->device_address, uh->endpoint_number & 0x7f);
|
H A D | sctpHeader.h | 164 struct sctpChunkDesc uh; member in struct:sctpUnifiedInit 195 struct sctpChunkDesc uh; member in struct:sctpUnifiedSack 231 struct sctpChunkDesc uh; member in struct:sctpUnifiedAbort 236 struct sctpChunkDesc uh; member in struct:sctpUnifiedAbortLight 241 struct sctpChunkDesc uh; member in struct:sctpUnifiedAbortHeavy 254 struct sctpChunkDesc uh; member in struct:sctpUnifiedShutdown 268 struct sctpChunkDesc uh; member in struct:sctpUnifiedOpError 274 struct sctpChunkDesc uh; member in struct:sctpUnifiedStreamError 282 struct sctpChunkDesc uh; member in struct:staleCookieMsg 293 struct sctpChunkDesc uh; member in struct:sctpUnifiedSingleMsg 304 struct sctpChunkDesc uh; member in struct:sctpUnifiedDatagram 309 struct sctpChunkDesc uh; member in struct:sctpECN_echo 315 struct sctpChunkDesc uh; member in struct:sctpCWR [all...] |
H A D | print-icmp6.c | 599 struct udphdr *uh; local 621 uh = (struct udphdr *)bp; 622 if (TTEST(uh->uh_dport)) { 624 return(uh);
|
/freebsd-10.1-release/lib/libstand/ |
H A D | udp.c | 69 struct udphdr *uh; local 84 uh = (struct udphdr *)pkt - 1; 85 ip = (struct ip *)uh - 1; 86 len += sizeof(*ip) + sizeof(*uh); 88 bzero(ip, sizeof(*ip) + sizeof(*uh)); 99 uh->uh_sport = d->myport; 100 uh->uh_dport = d->destport; 101 uh->uh_ulen = htons(len - sizeof(*ip)); 112 ui->ui_len = uh->uh_ulen; 113 uh 146 struct udphdr *uh; local [all...] |
H A D | tftp.c | 213 struct udphdr *uh; local 214 uh = (struct udphdr *) pkt - 1; 215 d->destport = uh->uh_sport; 232 struct udphdr *uh; local 247 uh = (struct udphdr *) pkt - 1; 248 d->destport = uh->uh_sport;
|
/freebsd-10.1-release/sys/arm/arm/ |
H A D | undefined.c | 96 struct undefined_handler *uh; local 102 uh = malloc(sizeof(*uh), M_TEMP, M_WAITOK); 103 uh->uh_handler = handler; 104 install_coproc_handler_static(coproc, uh); 105 return uh; 109 install_coproc_handler_static(int coproc, struct undefined_handler *uh) argument 112 LIST_INSERT_HEAD(&undefined_handlers[coproc], uh, uh_link); 118 struct undefined_handler *uh = cookie; local 120 LIST_REMOVE(uh, uh_lin 176 struct undefined_handler *uh; local [all...] |
/freebsd-10.1-release/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 165 struct udphdr* uh; 171 uh = (struct udphdr*) ((char*)iph + 20); 173 if ( htons(uh->uh_dport) != DPORT) 181 *port = ntohs(uh->uh_sport); 232 struct udphdr* uh; local 258 uh = (struct udphdr*) ((char*)iph + 20); 259 uh->uh_sport = htons(DPORT); 260 uh->uh_dport = htons(port); 261 uh->uh_ulen = htons(8+dlen); 262 uh [all...] |
/freebsd-10.1-release/sys/netinet6/ |
H A D | udp6_usrreq.c | 184 struct udphdr *uh; local 208 uh = (struct udphdr *)((caddr_t)ip6 + off); 210 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(*uh)); 211 if (!uh) 220 if (uh->uh_dport == 0) 224 ulen = ntohs((u_short)uh->uh_ulen); 238 if (uh->uh_sum == 0) { 247 if (uh->uh_sum == 0) { 273 fromsa.sin6_port = uh 517 struct udphdr uh; local [all...] |
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | ip.c | 303 const struct udphdr *uh; local 353 uh = (const struct udphdr *)payload; 354 sport = ntohs(uh->uh_sport); 355 dport = ntohs(uh->uh_dport); 496 ip_LogDNS(const struct udphdr *uh, const char *direction) argument 504 ptr = (const char *)uh + sizeof *uh; 505 len = ntohs(uh->uh_ulen) - sizeof *uh; 567 const struct udphdr *uh; local [all...] |
/freebsd-10.1-release/sys/netinet/libalias/ |
H A D | alias_nbt.c | 343 struct udphdr *uh; local 352 uh = (struct udphdr *)ip_next(pip); 353 pmax = (char *)uh + ntohs(uh->uh_ulen); 355 ndh = (NbtDataHeader *)udp_next(uh); 385 if (uh->uh_sum != 0) { 397 ADJUST_CHECKSUM(acc, uh->uh_sum); 772 struct udphdr *uh; local 788 uh = (struct udphdr *)ip_next(pip); 789 nbtarg.uh_sum = &(uh [all...] |
/freebsd-10.1-release/sys/sys/ |
H A D | systm.h | 410 void init_unrhdr(struct unrhdr *uh, int low, int high, struct mtx *mutex); 411 void delete_unrhdr(struct unrhdr *uh); 412 void clean_unrhdr(struct unrhdr *uh); 413 void clean_unrhdrl(struct unrhdr *uh); 414 int alloc_unr(struct unrhdr *uh); 415 int alloc_unr_specific(struct unrhdr *uh, u_int item); 416 int alloc_unrl(struct unrhdr *uh); 417 void free_unr(struct unrhdr *uh, u_int item);
|
/freebsd-10.1-release/sys/netinet/ |
H A D | udp_usrreq.c | 376 struct udphdr *uh; local 411 uh = (struct udphdr *)((caddr_t)ip + iphlen); 418 if (uh->uh_dport == 0) 428 udp_in.sin_port = uh->uh_sport; 435 len = ntohs((u_short)uh->uh_ulen); 464 if (uh->uh_sum) { 482 uh->uh_ulen : htons(ip_len); 513 if (inp->inp_lport != uh->uh_dport) 526 inp->inp_fport != uh->uh_sport) 624 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh 727 struct udphdr *uh; local [all...] |
/freebsd-10.1-release/sys/fs/tmpfs/ |
H A D | tmpfs_subr.c | 100 RB_PROTOTYPE_STATIC(tmpfs_dir, tmpfs_dirent, uh.td_entries, tmpfs_dirtree_cmp); 762 dc->tdc_current = LIST_NEXT(dc->tdc_current, uh.td_dup.entries); 807 uh.td_dup.index_entries) { 867 LIST_FOREACH(de, duphead, uh.td_dup.entries) { 902 LIST_INSERT_HEAD(dupindex, nde, uh.td_dup.index_entries); 903 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries); 914 de = LIST_NEXT(de, uh.td_dup.index_entries); 921 LIST_INSERT_AFTER(pde, nde, uh.td_dup.index_entries); 922 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries); 933 uh [all...] |
H A D | tmpfs.h | 77 } uh; member in struct:tmpfs_dirent
|
/freebsd-10.1-release/sys/netipsec/ |
H A D | ipsec.c | 621 struct udphdr uh; local 640 m_copydata(m, off, sizeof (uh), (caddr_t) &uh); 641 spidx->src.sin.sin_port = uh.uh_sport; 642 spidx->dst.sin.sin_port = uh.uh_dport; 704 struct udphdr uh; local 741 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); 742 ((struct sockaddr_in6 *)&spidx->src)->sin6_port = uh.uh_sport; 743 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = uh [all...] |
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | ntp_calendar.c | 782 uint32_t us, um, uh, ud, sflag; local 788 uh = um / MINSPERHR; 789 ud = uh / HRSPERDAY; 792 uh ^= sflag; 795 split[0] = (int32_t)(uh - ud * HRSPERDAY ); 796 split[1] = (int32_t)(um - uh * MINSPERHR );
|
/freebsd-10.1-release/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 780 struct udphdr* uh; local 803 uh = (struct udphdr*) ((char*)ih + 20); 804 uh->uh_sport = htons(floodport); 805 uh->uh_dport = htons(floodsport); 806 uh->uh_ulen = htons(8+PRGA_LEN); 807 uh->uh_sum = 0; 808 uh->uh_sum = udp_checksum((unsigned char*)uh, 8+PRGA_LEN, 1852 struct udphdr* uh; local 1911 uh [all...] |
/freebsd-10.1-release/sys/netpfil/pf/ |
H A D | pf.c | 4372 struct udphdr *uh = pd->hdr.udp; local 4380 key.port[0] = uh->uh_sport; 4381 key.port[1] = uh->uh_dport; 4385 key.port[1] = uh->uh_sport; 4386 key.port[0] = uh->uh_dport; 4417 nk->port[pd->sidx] != uh->uh_sport) 4418 pf_change_ap(m, pd->src, &uh->uh_sport, pd->ip_sum, 4419 &uh->uh_sum, &nk->addr[pd->sidx], 4423 nk->port[pd->didx] != uh->uh_dport) 4424 pf_change_ap(m, pd->dst, &uh 4793 struct udphdr uh; local 5835 struct udphdr uh; local 6255 struct udphdr uh; local [all...] |
/freebsd-10.1-release/sys/boot/i386/libi386/ |
H A D | pxe.c | 670 struct udphdr *uh = NULL; local 672 uh = (struct udphdr *) pkt - 1; 694 uh->uh_sport = udpread_p->s_port;
|
/freebsd-10.1-release/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 345 struct udphdr *uh; local 365 uh = (struct udphdr *)(ip + 1); 366 uh->uh_sum = cksum;
|
/freebsd-10.1-release/sys/net/ |
H A D | flowtable.c | 224 struct udphdr *uh; local 226 uh = (struct udphdr *)((char *)ip + iphlen); 227 sport = uh->uh_sport; 228 dport = uh->uh_dport;
|
/freebsd-10.1-release/contrib/llvm/lib/Support/ |
H A D | regengine.inc | 236 /* uh-oh... we couldn't find a subexpression-level match */ 469 default: /* uh oh */ 668 default: /* uh oh */
|
/freebsd-10.1-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_nat6.c | 2891 udphdr_t *uh; local 2905 uh = (udphdr_t *)(ip6 + 1); 2906 uh->uh_ulen = htons(fin->fin_plen); 3291 udphdr_t *uh; local 3304 uh = (udphdr_t *)(ip6 + 1); 3305 uh->uh_ulen = ntohs(fin->fin_plen); 3728 udphdr_t *uh; local 3758 uh = (udphdr_t *)((u_char *)ip6 + sizeof(*ip6)); 3759 uh->uh_sum = 0; 3760 uh [all...] |