Searched refs:opthdr (Results 1 – 3 of 3) sorted by relevance
416 struct option_header *opthdr; in get_opthdr_from_block_data() local418 opthdr = get_from_block_data(cursor, sizeof(*opthdr), errbuf); in get_opthdr_from_block_data()419 if (opthdr == NULL) { in get_opthdr_from_block_data()430 opthdr->option_code = SWAPSHORT(opthdr->option_code); in get_opthdr_from_block_data()431 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()434 return (opthdr); in get_opthdr_from_block_data()439 struct option_header *opthdr, char *errbuf) in get_optvalue_from_block_data() argument445 padded_option_len = opthdr->option_length; in get_optvalue_from_block_data()463 struct option_header *opthdr; in process_idb_options() local475 opthdr = get_opthdr_from_block_data(p, cursor, errbuf); in process_idb_options()[all …]
36 # what follows is a bunch of bit-mask checks on the flags field of the opthdr.
448 nd6_ra_opt_src_lladdr(struct nd_opt_hdr *opthdr, struct ifnet *ifp, in nd6_ra_opt_src_lladdr() argument455 if (opthdr != NULL) { in nd6_ra_opt_src_lladdr()456 lladdr = (char *)(opthdr + 1); in nd6_ra_opt_src_lladdr()457 lladdrlen = opthdr->nd_opt_len << 3; in nd6_ra_opt_src_lladdr()