Lines Matching defs:inc
1098 struct in_conninfo *inc, struct tcphdr *th)
1115 if (inc) {
1116 bzero(inc, sizeof(*inc));
1117 inc->inc_fport = tcp->th_sport;
1118 inc->inc_lport = tcp->th_dport;
1122 inc->inc_faddr = ip->ip_src;
1123 inc->inc_laddr = ip->ip_dst;
1127 inc->inc_flags |= INC_ISIPV6;
1128 inc->inc6_faddr = ip6->ip6_src;
1129 inc->inc6_laddr = ip6->ip6_dst;
1141 struct in_conninfo *inc)
1147 if (inc->inc_flags & INC_ISIPV6) {
1154 if (IN6_IS_ADDR_LINKLOCAL(&inc->inc6_laddr)) {
1160 if (fib6_lookup_nh_basic(RT_DEFAULT_FIB, &inc->inc6_faddr,
1172 if (fib4_lookup_nh_basic(RT_DEFAULT_FIB, inc->inc_faddr, 0, 0,
1245 struct in_conninfo inc;
1317 pass_accept_req_to_protohdrs(sc, m, &inc, &th);
1318 if (inc.inc_flags & INC_ISIPV6) {
1328 if (!in6_ifhasaddr(ifp, &inc.inc6_laddr))
1342 if (!in_ifhasaddr(ifp, inc.inc_laddr))
1348 e = get_l2te_for_nexthop(pi, ifp, &inc);
1354 if (toe_4tuple_check(&inc, &th, ifp) != 0) {
1389 toe_syncache_add(&inc, &to, &th, inp, tod, synqe);
1396 mtu_idx = find_best_mtu_idx(sc, &inc, &settings);
1463 const struct cpl_pass_establish *cpl, struct in_conninfo *inc,
1469 pass_accept_req_to_protohdrs(sc, synqe->syn, inc, th);
1500 struct in_conninfo inc;
1554 synqe_to_protohdrs(sc, synqe, cpl, &inc, &th, &to);
1555 if (inc.inc_flags & INC_ISIPV6)
1556 toep->ce = t4_hold_lip(sc, &inc.inc6_laddr, lctx->ce);
1560 if (!toe_syncache_expand(&inc, &to, &th, &so) || so == NULL) {