• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/

Lines Matching refs:protocol

217 	 * As far as we know, FTP is a very complicated network protocol, and
232 ct = ip_vs_ct_in_get(svc->af, iph.protocol, &snet, 0,
235 ct = ip_vs_ct_in_get(svc->af, iph.protocol, &snet, 0,
250 * Create a template like <protocol,caddr,0,
252 * and <protocol,caddr,0,vaddr,0,daddr,0>
256 ct = ip_vs_conn_new(svc->af, iph.protocol,
264 ct = ip_vs_conn_new(svc->af, iph.protocol,
284 * port zero template: <protocol,caddr,0,vaddr,0,daddr,0>
294 ct = ip_vs_ct_in_get(svc->af, iph.protocol, &snet, 0,
326 ct = ip_vs_conn_new(svc->af, iph.protocol,
344 && iph.protocol == IPPROTO_UDP)?
350 cp = ip_vs_conn_new(svc->af, iph.protocol,
415 && iph.protocol == IPPROTO_UDP)?
421 cp = ip_vs_conn_new(svc->af, iph.protocol,
476 iph.protocol == IPPROTO_UDP)?
484 cp = ip_vs_conn_new(svc->af, iph.protocol,
587 if (IPPROTO_TCP == ciph->protocol || IPPROTO_UDP == ciph->protocol ||
588 IPPROTO_SCTP == ciph->protocol) {
659 __u8 protocol, struct ip_vs_conn *cp,
678 if (IPPROTO_TCP == protocol || IPPROTO_UDP == protocol ||
679 IPPROTO_SCTP == protocol)
757 pp = ip_vs_proto_get(cih->protocol);
761 /* Is the embedded protocol header present? */
777 return handle_response_icmp(AF_INET, skb, &snet, cih->protocol, cp,
836 /* Is the embedded protocol header present? */
957 af = (skb->protocol == htons(ETH_P_IP)) ? AF_INET : AF_INET6;
965 if (unlikely(iph.protocol == IPPROTO_ICMPV6)) {
974 if (unlikely(iph.protocol == IPPROTO_ICMP)) {
982 pp = ip_vs_proto_get(iph.protocol);
989 if (unlikely(iph.protocol == IPPROTO_ICMPV6)) {
1014 (pp->protocol == IPPROTO_TCP ||
1015 pp->protocol == IPPROTO_UDP ||
1016 pp->protocol == IPPROTO_SCTP)) {
1023 if (ip_vs_lookup_real_service(af, iph.protocol,
1031 if ((iph.protocol != IPPROTO_TCP &&
1032 iph.protocol != IPPROTO_SCTP)
1033 || ((iph.protocol == IPPROTO_TCP
1035 || (iph.protocol == IPPROTO_SCTP
1119 pp = ip_vs_proto_get(cih->protocol);
1123 /* Is the embedded protocol header present? */
1141 cih->protocol, cp, pp,
1159 if (IPPROTO_TCP == cih->protocol || IPPROTO_UDP == cih->protocol)
1228 /* Is the embedded protocol header present? */
1284 af = (skb->protocol == htons(ETH_P_IP)) ? AF_INET : AF_INET6;
1295 iph.protocol,
1302 if (unlikely(iph.protocol == IPPROTO_ICMPV6)) {
1311 if (unlikely(iph.protocol == IPPROTO_ICMP)) {
1320 pp = ip_vs_proto_get(iph.protocol);
1382 cp->protocol == IPPROTO_SCTP) {
1398 (((cp->protocol != IPPROTO_TCP ||
1402 ((cp->protocol == IPPROTO_TCP) && (cp->old_state != cp->state) &&
1432 if (ip_hdr(skb)->protocol != IPPROTO_ICMP)