Lines Matching refs:iaddr
26 static __wsum get_csum_diff_iaddr(struct ila_addr *iaddr, struct ila_params *p) in get_csum_diff_iaddr() argument
32 (__be32 *)&iaddr->loc); in get_csum_diff_iaddr()
40 static void ila_csum_do_neutral_fmt(struct ila_addr *iaddr, in ila_csum_do_neutral_fmt() argument
43 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_fmt()
46 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_fmt()
48 fval = (__force __wsum)(ila_csum_neutral_set(iaddr->ident) ? in ila_csum_do_neutral_fmt()
60 iaddr->ident.csum_neutral ^= 1; in ila_csum_do_neutral_fmt()
63 static void ila_csum_do_neutral_nofmt(struct ila_addr *iaddr, in ila_csum_do_neutral_nofmt() argument
66 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_nofmt()
69 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_nofmt()
124 struct ila_addr *iaddr = ila_a2i(&ip6h->daddr); in ila_update_ipv6_locator() local
132 if (WARN_ON(ila_csum_neutral_set(iaddr->ident))) { in ila_update_ipv6_locator()
138 } else if (!ila_csum_neutral_set(iaddr->ident)) { in ila_update_ipv6_locator()
144 ila_csum_do_neutral_fmt(iaddr, p); in ila_update_ipv6_locator()
147 ila_csum_do_neutral_nofmt(iaddr, p); in ila_update_ipv6_locator()
154 iaddr->loc = p->locator; in ila_update_ipv6_locator()