• 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

283 /* the service table hashed by <protocol, addr, port> */
354 * Hash it by <protocol,addr,port> in ip_vs_svc_table
356 hash = ip_vs_svc_hashkey(svc->af, svc->protocol, &svc->addr,
404 __ip_vs_service_get(int af, __u16 protocol, const union nf_inet_addr *vaddr,
411 hash = ip_vs_svc_hashkey(af, protocol, vaddr, vport);
417 && (svc->protocol == protocol)) {
452 ip_vs_service_get(int af, __u32 fwmark, __u16 protocol,
466 * Check the table hashed by <protocol,addr,port>
469 svc = __ip_vs_service_get(af, protocol, vaddr, vport);
472 && protocol == IPPROTO_TCP
479 svc = __ip_vs_service_get(af, protocol, vaddr, FTPPORT);
487 svc = __ip_vs_service_get(af, protocol, vaddr, 0);
494 fwmark, ip_vs_proto_name(protocol),
584 ip_vs_lookup_real_service(int af, __u16 protocol,
602 && ((dest->protocol == protocol) ||
639 * Find destination by {daddr,dport,vaddr,protocol}
651 __be16 vport, __u16 protocol)
656 svc = ip_vs_service_get(af, 0, protocol, vaddr, vport);
696 dest->protocol == svc->protocol &&
853 dest->protocol = svc->protocol;
1192 svc->protocol = u->protocol;
1425 * Flush the service table hashed by <protocol,addr,port>
1670 /* look in hash by protocol */
1718 /* next service in table hashed by protocol */
1775 ip_vs_proto_name(svc->protocol),
1782 ip_vs_proto_name(svc->protocol),
1959 usvc->protocol = usvc_compat->protocol;
2052 /* Check for valid protocol: TCP or UDP or SCTP, even for fwmark!=0 */
2053 if (usvc.protocol != IPPROTO_TCP && usvc.protocol != IPPROTO_UDP &&
2054 usvc.protocol != IPPROTO_SCTP) {
2055 pr_err("set_ctl: invalid protocol: %d %pI4:%d %s\n",
2056 usvc.protocol, &usvc.addr.ip,
2062 /* Lookup the exact service by <protocol, addr, port> or fwmark */
2064 svc = __ip_vs_service_get(usvc.af, usvc.protocol,
2070 && (svc == NULL || svc->protocol != usvc.protocol)) {
2130 dst->protocol = src->protocol;
2203 svc = __ip_vs_service_get(AF_INET, get->protocol, &addr,
2355 svc = __ip_vs_service_get(AF_INET, entry->protocol,
2546 NLA_PUT_U16(skb, IPVS_SVC_ATTR_PROTOCOL, svc->protocol);
2658 usvc->protocol = IPPROTO_TCP;
2661 usvc->protocol = nla_get_u16(nla_protocol);
2688 svc = __ip_vs_service_get(usvc->af, usvc->protocol,
2719 return __ip_vs_service_get(usvc.af, usvc.protocol,
3028 /* Lookup the exact service by <protocol, addr, port> or fwmark */
3030 svc = __ip_vs_service_get(usvc.af, usvc.protocol,