Searched refs:IPPROTO_UDP (Results 1 - 23 of 23) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp_udp.h120 #define IPPROTO_UDP 17 macro
H A Dkdp_udp.c393 ui->ui_pr = IPPROTO_UDP;
461 ui->ui_pr = IPPROTO_UDP;
698 if (ui->ui_pr != IPPROTO_UDP) {
1197 ui->ui_pr = IPPROTO_UDP;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_proto.c123 { SOCK_DGRAM, &inetdomain, IPPROTO_UDP, PR_ATOMIC|PR_ADDR|PR_PROTOLOCK|PR_PCBLOCK,
300 SYSCTL_NODE(_net_inet, IPPROTO_UDP, udp, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "UDP");
H A Din.h125 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
H A Dudp_usrreq.c239 in_pcb_nat_init(&udbinfo, AF_INET, IPPROTO_UDP, SOCK_DGRAM);
827 if (sopt->sopt_level != IPPROTO_UDP)
1129 ui->ui_pr = IPPROTO_UDP;
1141 htons((u_short)len + sizeof(struct udphdr) + IPPROTO_UDP));
H A Dip_fw2.c688 case IPPROTO_UDP:
995 } else if (pkt->proto == IPPROTO_UDP) {
1566 case IPPROTO_UDP:
1714 } else if (proto == IPPROTO_UDP) {
1887 if ((proto==IPPROTO_UDP || proto==IPPROTO_TCP)
H A Dip_fw2_compat.c1430 (frwl->fw_prot != IPPROTO_UDP) &&
1453 (frwl->fw_prot == IPPROTO_UDP || frwl->fw_prot == IPPROTO_TCP)) {
H A Din_dhcp.c188 pkt->ip.ip_p = IPPROTO_UDP;
H A Dip_mroute.c1890 if (ip->ip_p == IPPROTO_UDP) {
H A Dip_input.c987 && ip->ip_p == IPPROTO_UDP) {
H A Dip_output.c1635 case IPPROTO_UDP:
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dudp6_output.c298 ip6->ip6_nxt = IPPROTO_UDP;
305 if ((udp6->uh_sum = in6_cksum(m, IPPROTO_UDP,
H A Dudp6_usrreq.c233 else if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) {
721 pru = ip_protox[IPPROTO_UDP]->pr_usrreqs;
774 pru = ip_protox[IPPROTO_UDP]->pr_usrreqs;
H A Din6_proto.c158 { SOCK_DGRAM, &inet6domain, IPPROTO_UDP, PR_ATOMIC|PR_ADDR|PR_PROTOLOCK|PR_PCBLOCK,
429 SYSCTL_NODE(_net_inet6, IPPROTO_UDP, udp6, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "UDP6");
H A Desp_output.c377 if (ip->ip_p != IPPROTO_UDP) {
617 *nexthdrp = IPPROTO_UDP;
H A Dip6_fw.c482 case IPPROTO_UDP:
696 case IPPROTO_UDP:
1072 (frwl->fw_prot != IPPROTO_UDP) &&
1097 (frwl->fw_prot == IPPROTO_UDP || frwl->fw_prot == IPPROTO_TCP)) {
H A Desp_input.c483 if (nxt == IPPROTO_TCP || nxt == IPPROTO_UDP) {
500 if (nxt != IPPROTO_UDP) { /* not UPD packet - drop it */
H A Dipsec.c1040 case IPPROTO_UDP:
1140 case IPPROTO_UDP:
2839 if (ip->ip_p == IPPROTO_UDP) {
4110 ip->ip_p = IPPROTO_UDP;
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Daurp_aurpd.c120 IPPROTO_UDP);
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_boot.c703 int proto = (sotype == SOCK_STREAM) ? IPPROTO_TCP : IPPROTO_UDP;
H A Dnfs_syscalls.c712 if ((soprotocol == IPPROTO_UDP) && nfsrv_udpsock) {
759 if (soprotocol == IPPROTO_UDP) {
H A Dnfs_vfsops.c2023 if (((error = sock_socket(saddr->sin_family, SOCK_DGRAM, IPPROTO_UDP, NULL, NULL, &so))) ||
2121 nfsm_chain_add_32(error, &nmreq, IPPROTO_UDP);
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Ddlil.c1217 else if (ip->ip_p == IPPROTO_UDP)
1228 else if (ip6->ip6_nxt == IPPROTO_UDP)

Completed in 137 milliseconds