Lines Matching refs:nexthdr
1644 uint64_t *buffer, *nexthdr; in doaddup() local
2714 nexthdr = buffer; in doaddup()
2715 bcopy(&msg, nexthdr, sizeof (msg)); in doaddup()
2716 nexthdr += SADB_8TO64(sizeof (msg)); in doaddup()
2768 bcopy(assoc, nexthdr, SADB_64TO8(assoc->sadb_sa_len)); in doaddup()
2769 nexthdr += assoc->sadb_sa_len; in doaddup()
2787 bcopy(sadb_pair, nexthdr, in doaddup()
2789 nexthdr += sadb_pair->sadb_x_pair_len; in doaddup()
2794 bcopy(hard, nexthdr, SADB_64TO8(hard->sadb_lifetime_len)); in doaddup()
2795 nexthdr += hard->sadb_lifetime_len; in doaddup()
2800 bcopy(soft, nexthdr, SADB_64TO8(soft->sadb_lifetime_len)); in doaddup()
2801 nexthdr += soft->sadb_lifetime_len; in doaddup()
2806 bcopy(idle, nexthdr, SADB_64TO8(idle->sadb_lifetime_len)); in doaddup()
2807 nexthdr += idle->sadb_lifetime_len; in doaddup()
2817 bcopy(encrypt, nexthdr, SADB_64TO8(encrypt->sadb_key_len)); in doaddup()
2818 nexthdr += encrypt->sadb_key_len; in doaddup()
2824 bcopy(auth, nexthdr, SADB_64TO8(auth->sadb_key_len)); in doaddup()
2825 nexthdr += auth->sadb_key_len; in doaddup()
2831 bcopy(srcid, nexthdr, SADB_64TO8(srcid->sadb_ident_len)); in doaddup()
2832 nexthdr += srcid->sadb_ident_len; in doaddup()
2837 bcopy(dstid, nexthdr, SADB_64TO8(dstid->sadb_ident_len)); in doaddup()
2838 nexthdr += dstid->sadb_ident_len; in doaddup()
2843 bcopy(dst, nexthdr, SADB_64TO8(dst->sadb_address_len)); in doaddup()
2845 dst = (struct sadb_address *)nexthdr; in doaddup()
2848 nexthdr += dst->sadb_address_len; in doaddup()
2862 bcopy(natt_remote, nexthdr, in doaddup()
2865 natt_remote = (struct sadb_address *)nexthdr; in doaddup()
2866 nexthdr += natt_remote->sadb_address_len; in doaddup()
2872 bcopy(natt_local, nexthdr, in doaddup()
2875 natt_local = (struct sadb_address *)nexthdr; in doaddup()
2876 nexthdr += natt_local->sadb_address_len; in doaddup()
2889 bcopy(src, nexthdr, SADB_64TO8(src->sadb_address_len)); in doaddup()
2891 src = (struct sadb_address *)nexthdr; in doaddup()
2894 nexthdr += src->sadb_address_len; in doaddup()
2897 bcopy(isrc, nexthdr, SADB_64TO8(isrc->sadb_address_len)); in doaddup()
2899 isrc = (struct sadb_address *)nexthdr; in doaddup()
2903 nexthdr += isrc->sadb_address_len; in doaddup()
2907 bcopy(idst, nexthdr, SADB_64TO8(idst->sadb_address_len)); in doaddup()
2909 idst = (struct sadb_address *)nexthdr; in doaddup()
2913 nexthdr += idst->sadb_address_len; in doaddup()
2917 bcopy(replay_ctr, nexthdr, in doaddup()
2919 nexthdr += replay_ctr->sadb_x_rc_len; in doaddup()
2924 bcopy(label, nexthdr, SADB_64TO8(label->sadb_sens_len)); in doaddup()
2925 nexthdr += label->sadb_sens_len; in doaddup()
2931 bcopy(olabel, nexthdr, SADB_64TO8(olabel->sadb_sens_len)); in doaddup()
2932 nexthdr += olabel->sadb_sens_len; in doaddup()