Searched refs:mob_h (Results 1 – 1 of 1) sorted by relevance
255 struct mobile_h mob_h; in gre_output_serialized() local321 memset(&mob_h, 0, MOB_H_SIZ_L); in gre_output_serialized()322 mob_h.proto = (ip->ip_p) << 8; in gre_output_serialized()323 mob_h.odst = ip->ip_dst.s_addr; in gre_output_serialized()334 mob_h.proto |= MOB_H_SBIT; in gre_output_serialized()335 mob_h.osrc = ip->ip_src.s_addr; in gre_output_serialized()339 mob_h.proto = htons(mob_h.proto); in gre_output_serialized()340 mob_h.hcrc = gre_in_cksum((u_short *)&mob_h, msiz); in gre_output_serialized()367 memcpy((caddr_t)(ip + 1), &mob_h, (unsigned)msiz); in gre_output_serialized()