Home
last modified time | relevance | path

Searched refs:IPPROTO_UDP (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c28 case IPPROTO_UDP: in rmnet_map_get_csum_field()
68 if (*csum_field == 0 && ip4h->protocol == IPPROTO_UDP) { in rmnet_map_ipv4_dl_csum_trailer()
90 case IPPROTO_UDP: in rmnet_map_ipv4_dl_csum_trailer()
142 length = (ip6h->nexthdr == IPPROTO_UDP) ? in rmnet_map_ipv6_dl_csum_trailer()
156 case IPPROTO_UDP: in rmnet_map_ipv6_dl_csum_trailer()
189 if (ip4h->protocol == IPPROTO_TCP || ip4h->protocol == IPPROTO_UDP) { in rmnet_map_complement_ipv4_txporthdr_csum_field()
208 if (ip4h->protocol == IPPROTO_UDP) in rmnet_map_ipv4_ul_csum_header()
231 if (ip6h->nexthdr == IPPROTO_TCP || ip6h->nexthdr == IPPROTO_UDP) { in rmnet_map_complement_ipv6_txporthdr_csum_field()
251 if (ip6h->nexthdr == IPPROTO_UDP) in rmnet_map_ipv6_ul_csum_header()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c156 case IPPROTO_UDP: in encap_ipv4()
264 case IPPROTO_UDP: in encap_ipv6()
352 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_IP); in __encap_udp_none()
361 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_udp_mpls()
370 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_udp_eth()
424 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none()
433 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_ip6udp_mpls()
442 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_ip6udp_eth()
471 case IPPROTO_UDP: in decap_internal()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c58 inside_nexthdr != IPPROTO_UDP) in extract_icmp6_fields()
89 case IPPROTO_UDP: in nf_socket_get_sock_v6()
113 if (tproto == IPPROTO_UDP || tproto == IPPROTO_TCP) { in nf_sk_lookup_slow_v6()
117 hp = skb_header_pointer(skb, thoff, tproto == IPPROTO_UDP ? in nf_sk_lookup_slow_v6()
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dnf_socket_ipv4.c44 inside_iph->protocol != IPPROTO_UDP) in extract_icmp4_fields()
77 case IPPROTO_UDP: in nf_socket_get_sock_v4()
98 if (iph->protocol == IPPROTO_UDP || iph->protocol == IPPROTO_TCP) { in nf_sk_lookup_slow_v4()
103 iph->protocol == IPPROTO_UDP ? in nf_sk_lookup_slow_v4()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dudp_offload.c138 if (skb_gro_checksum_validate_zero_check(skb, IPPROTO_UDP, uh->check, in udp6_gro_receive()
142 skb_gro_checksum_try_convert(skb, IPPROTO_UDP, in udp6_gro_receive()
200 return inet6_add_offload(&udpv6_offload, IPPROTO_UDP); in udpv6_offload_init()
205 return inet6_del_offload(&udpv6_offload, IPPROTO_UDP); in udpv6_offload_exit()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_tftp.c73 IPPROTO_UDP, NULL, &tuple->dst.u.udp.port); in tftp_help()
122 nf_ct_helper_init(&tftp[2 * i], AF_INET, IPPROTO_UDP, in nf_conntrack_tftp_init()
126 nf_ct_helper_init(&tftp[2 * i + 1], AF_INET6, IPPROTO_UDP, in nf_conntrack_tftp_init()
H A Dnf_conntrack_proto_udp.c42 IPPROTO_UDP, "%s", msg); in udp_error_log()
76 nf_checksum(skb, state->hook, dataoff, IPPROTO_UDP, state->pf)) { in udp_error()
173 nf_checksum_partial(skb, state->hook, dataoff, cscov, IPPROTO_UDP, in udplite_error()
280 .l4proto = IPPROTO_UDP,
H A Dxt_l2tp.c177 case IPPROTO_UDP: in l2tp_mt4()
199 case IPPROTO_UDP: in l2tp_mt6()
270 if ((ip->proto != IPPROTO_UDP) && in l2tp_mt_check4()
297 if ((ip->proto != IPPROTO_UDP) && in l2tp_mt_check6()
H A Dxt_CHECKSUM.c50 if (i4->proto == IPPROTO_UDP && in checksum_tg_check()
56 i6->proto == IPPROTO_UDP && in checksum_tg_check()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/dhcp/
H A Dpacket.c99 ip.protocol = IPPROTO_UDP; in send_packet()
113 temp = htons(IPPROTO_UDP); in send_packet()
184 } else if (packet.ip.protocol != IPPROTO_UDP) { in receive_packet()
233 packet.ip.protocol = IPPROTO_UDP; in receive_packet()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dsocket.c30 { AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, 1 },
31 { AF_INET, SOCK_STREAM, IPPROTO_UDP, -EPROTONOSUPPORT, 1 },
H A Dip_defrag.c107 IPPROTO_UDP + (uint32_t)(UDP_HLEN + payload_len)); in udp_checksum()
123 IPPROTO_UDP); in udp6_checksum()
228 fraghdr->ip6f_nxt = IPPROTO_UDP; in send_udp_frags()
238 iphdr->ip_p = IPPROTO_UDP; in send_udp_frags()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_redirect_cpu_kern.c168 if (!(iph->protocol == IPPROTO_UDP)) in get_dest_port_ipv4_udp()
330 u8 ip_proto = IPPROTO_UDP; in xdp_prognum3_proto_separate()
372 case IPPROTO_UDP: in xdp_prognum3_proto_separate()
398 u8 ip_proto = IPPROTO_UDP; in xdp_prognum4_ddos_filter_pktgen()
441 case IPPROTO_UDP: in xdp_prognum4_ddos_filter_pktgen()
518 u8 ip_proto = IPPROTO_UDP; in xdp_prognum5_lb_hash_ip_pairs()
H A Dparse_varlen.c73 else if (iph->protocol == IPPROTO_UDP) in parse_ipv4()
107 else if (nexthdr == IPPROTO_UDP) in parse_ipv6()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsock_diag.h59 case IPPROTO_UDP: in sock_diag_destroy_group()
71 case IPPROTO_UDP: in sock_diag_destroy_group()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c218 pseudo_sum += htons(IPPROTO_UDP); in build_udp_v4_csum()
290 else if (cfg_encap_proto == IPPROTO_UDP) in build_packet()
314 IPPROTO_UDP, in build_packet()
322 IPPROTO_UDP, in build_packet()
352 case IPPROTO_UDP: in build_packet()
648 cfg_encap_proto = IPPROTO_UDP; in parse_opts()
/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A Dip_set_getport.c53 case IPPROTO_UDP: in get_port()
113 case IPPROTO_UDP: in ip_set_get_ip4_port()
/OK3568_Linux_fs/kernel/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c45 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
H A Dip_vs_pe_sip.c77 if (!retc || iph.protocol != IPPROTO_UDP) in ip_vs_sip_fill_param()
155 if (likely(iph->protocol == IPPROTO_UDP)) in ip_vs_sip_conn_out()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/unfs3/unfs3/
H A Dalternate_rpc_ports.patch89 opt_portmapper ? IPPROTO_UDP : 0)) {
116 opt_portmapper ? IPPROTO_UDP : 0)) {
125 opt_portmapper ? IPPROTO_UDP : 0)) {
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dlag.c48 iph->protocol = IPPROTO_UDP; in rdma_build_skb()
61 ip6h->nexthdr = IPPROTO_UDP; in rdma_build_skb()

12345678910>>...14