Home
last modified time | relevance | path

Searched refs:hip (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_tag.c304 hinfo_p hip; in ng_tag_newhook() local
339 hip->in->thisHook[sizeof(hip->in->thisHook) - 1] = '\0'; in ng_tag_newhook()
682 hip->in_tag_cookie = hip->in->tag_cookie; in ng_tag_setdata_in()
683 hip->in_tag_id = hip->in->tag_id; in ng_tag_setdata_in()
684 hip->in_tag_len = hip->in->tag_len; in ng_tag_setdata_in()
685 hip->strip = hip->in->strip; in ng_tag_setdata_in()
686 hip->in_tag_data = (void*)(hip->in->tag_data); in ng_tag_setdata_in()
712 hip->out_tag_cookie = hip->out->tag_cookie; in ng_tag_setdata_out()
713 hip->out_tag_id = hip->out->tag_id; in ng_tag_setdata_out()
714 hip->out_tag_len = hip->out->tag_len; in ng_tag_setdata_out()
[all …]
H A Dng_bpf.c250 hip->match = h; in ng_bpf_addrefs()
262 if (hip->match == h) in ng_bpf_remrefs()
275 hinfo_p hip; in ng_bpf_newhook() local
280 hip = malloc(sizeof(*hip), M_NETGRAPH_BPF, M_NOWAIT | M_ZERO); in ng_bpf_newhook()
281 if (hip == NULL) in ng_bpf_newhook()
283 hip->hook = hook; in ng_bpf_newhook()
297 strlcpy(hip->prog->thisHook, name, sizeof(hip->prog->thisHook)); in ng_bpf_newhook()
493 dest = hip->match; in ng_bpf_rcvdata()
582 hip->prog = hp; in ng_bpf_setprog()
590 hip->match = ng_findhook(NG_HOOK_NODE(hook), hip->prog->ifMatch); in ng_bpf_setprog()
[all …]
H A Dng_hole.c132 hinfo_p hip; in ngh_newhook() local
135 hip = malloc(sizeof(*hip), M_NETGRAPH, M_NOWAIT | M_ZERO); in ngh_newhook()
136 if (hip == NULL) in ngh_newhook()
138 NG_HOOK_SET_PRIVATE(hook, hip); in ngh_newhook()
207 const hinfo_p hip = NG_HOOK_PRIVATE(hook); in ngh_rcvdata() local
209 hip->stats.frames++; in ngh_rcvdata()
210 hip->stats.octets += NGI_M(item)->m_pkthdr.len; in ngh_rcvdata()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-app-hotplug.c577 cvmx_app_hotplug_info_t *hip; in cvmx_app_hotplug_get_info() local
587 hip = hgp->hotplug_info_array; in cvmx_app_hotplug_get_info()
592 if (hip[i].coremask == coremask) in cvmx_app_hotplug_get_info()
596 return &hip[i]; in cvmx_app_hotplug_get_info()
612 cvmx_app_hotplug_info_t *hip; in cvmx_app_hotplug_get_index() local
622 hip = hgp->hotplug_info_array; in cvmx_app_hotplug_get_index()
627 if (hip[i].coremask == coremask) in cvmx_app_hotplug_get_index()
653 cvmx_app_hotplug_info_t *hip; in cvmx_app_hotplug_get_info_at_index() local
658 hip = hgp->hotplug_info_array; in cvmx_app_hotplug_get_info_at_index()
666 if (hip[index].valid) in cvmx_app_hotplug_get_info_at_index()
[all …]