• Home
  • Raw
  • Download

Lines Matching refs:h

19 static int ncsi_validate_aen_pkt(struct ncsi_aen_pkt_hdr *h,  in ncsi_validate_aen_pkt()  argument
25 if (h->common.revision != NCSI_PKT_REVISION) in ncsi_validate_aen_pkt()
27 if (ntohs(h->common.length) != payload) in ncsi_validate_aen_pkt()
34 pchecksum = (__be32 *)((void *)(h + 1) + payload - 4); in ncsi_validate_aen_pkt()
38 checksum = ncsi_calculate_checksum((unsigned char *)h, in ncsi_validate_aen_pkt()
39 sizeof(*h) + payload - 4); in ncsi_validate_aen_pkt()
47 struct ncsi_aen_pkt_hdr *h) in ncsi_aen_handler_lsc() argument
60 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_lsc()
65 lsc = (struct ncsi_aen_lsc_pkt *)h; in ncsi_aen_handler_lsc()
141 struct ncsi_aen_pkt_hdr *h) in ncsi_aen_handler_cr() argument
147 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_cr()
174 struct ncsi_aen_pkt_hdr *h) in ncsi_aen_handler_hncdsc() argument
182 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_hncdsc()
188 hncdsc = (struct ncsi_aen_hncdsc_pkt *)h; in ncsi_aen_handler_hncdsc()
202 struct ncsi_aen_pkt_hdr *h);
211 struct ncsi_aen_pkt_hdr *h; in ncsi_aen_handler() local
216 h = (struct ncsi_aen_pkt_hdr *)skb_network_header(skb); in ncsi_aen_handler()
218 if (ncsi_aen_handlers[i].type == h->type) { in ncsi_aen_handler()
226 h->type); in ncsi_aen_handler()
230 ret = ncsi_validate_aen_pkt(h, nah->payload); in ncsi_aen_handler()
234 h->type); in ncsi_aen_handler()
238 ret = nah->handler(ndp, h); in ncsi_aen_handler()
242 h->type, ret); in ncsi_aen_handler()