HomeSort by relevance Sort by last modified time
    Searched refs:nh (Results 1 - 25 of 154) sorted by null

1 2 3 4 5 6 7

  /external/libnl/lib/route/
nexthop.c 39 struct rtnl_nexthop *nh; local
41 nh = calloc(1, sizeof(*nh));
42 if (!nh)
45 nl_init_list_head(&nh->rtnh_list);
47 return nh;
52 struct rtnl_nexthop *nh; local
54 nh = rtnl_route_nh_alloc();
55 if (!nh)
58 nh->rtnh_flags = src->rtnh_flags
    [all...]
route_obj.c 80 struct rtnl_nexthop *nh, *tmp; local
89 nl_list_for_each_entry_safe(nh, tmp, &r->rt_nexthops, rtnh_list) {
90 rtnl_route_remove_nexthop(r, nh);
91 rtnl_route_nh_free(nh);
99 struct rtnl_nexthop *nh, *new; local
114 nl_list_for_each_entry(nh, &src->rt_nexthops, rtnh_list) {
115 new = rtnl_route_nh_clone(nh);
160 struct rtnl_nexthop *nh; local
162 nl_list_for_each_entry(nh, &r->rt_nexthops, rtnh_list) {
164 rtnl_route_nh_dump(nh, p)
247 struct rtnl_nexthop *nh; local
344 struct rtnl_nexthop *nh; local
773 struct rtnl_nexthop *nh; local
784 struct rtnl_nexthop *nh; local
823 struct rtnl_nexthop *nh; local
852 struct rtnl_nexthop *nh = NULL; local
1141 struct rtnl_nexthop *nh; local
    [all...]
  /system/core/include/sysutils/
NetlinkEvent.h 61 bool parseIfInfoMessage(const struct nlmsghdr *nh);
62 bool parseIfAddrMessage(const struct nlmsghdr *nh);
63 bool parseUlogPacketMessage(const struct nlmsghdr *nh);
64 bool parseNfPacketMessage(struct nlmsghdr *nh);
65 bool parseRtMessage(const struct nlmsghdr *nh);
66 bool parseNdUserOptMessage(const struct nlmsghdr *nh);
  /external/tcpdump/
print-cnfp.c 159 register const struct nfhdr_v1 *nh; local
167 nh = (const struct nfhdr_v1 *)cp;
168 ND_TCHECK(*nh);
170 ver = EXTRACT_16BITS(&nh->version);
171 nrecs = EXTRACT_32BITS(&nh->count);
178 t = EXTRACT_32BITS(&nh->utc_sec);
182 EXTRACT_32BITS(&nh->msys_uptime)/1000,
183 EXTRACT_32BITS(&nh->msys_uptime)%1000,
184 EXTRACT_32BITS(&nh->utc_sec), EXTRACT_32BITS(&nh->utc_nsec)))
249 register const struct nfhdr_v5 *nh; local
346 register const struct nfhdr_v6 *nh; local
    [all...]
print-ip6.c 83 int nh; local
142 nh = ip6->ip6_nxt;
148 nh != IPPROTO_TCP && nh != IPPROTO_UDP &&
149 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) {
154 switch (nh) {
157 nh = *cp;
161 nh = *cp;
167 nh = *cp
    [all...]
print-ip.c 318 u_char nh; member in struct:ip_print_demux_state
330 switch (ipds->nh) {
333 ipds->nh = *ipds->cp;
351 ipds->nh = enh & 0xff;
363 ipds->nh = enh & 0xff;
485 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL)
488 ND_PRINT((ndo, " ip-proto-%d", ipds->nh));
497 u_int length, u_int nh,
506 ipd.nh = nh;
    [all...]
  /system/core/libsysutils/src/
NetlinkEvent.cpp 106 static bool checkRtNetlinkLength(const struct nlmsghdr *nh, size_t size) {
107 if (nh->nlmsg_len < NLMSG_LENGTH(size)) {
108 SLOGE("Got a short %s message\n", rtMessageName(nh->nlmsg_type));
130 bool NetlinkEvent::parseIfInfoMessage(const struct nlmsghdr *nh) {
131 struct ifinfomsg *ifi = (struct ifinfomsg *) NLMSG_DATA(nh);
132 if (!checkRtNetlinkLength(nh, sizeof(*ifi)))
139 int len = IFLA_PAYLOAD(nh);
158 bool NetlinkEvent::parseIfAddrMessage(const struct nlmsghdr *nh) {
159 struct ifaddrmsg *ifaddr = (struct ifaddrmsg *) NLMSG_DATA(nh);
164 if (!checkRtNetlinkLength(nh, sizeof(*ifaddr))
517 struct nlmsghdr *nh; local
    [all...]
  /external/tlsdate/src/
routeup.c 78 struct nlmsghdr *nh; local
82 for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, sz);
83 nh = NLMSG_NEXT (nh, sz))
91 if (nh->nlmsg_type == NLMSG_DONE)
93 if (nh->nlmsg_type != RTM_NEWROUTE)
  /external/libpcap/
pcap-nit.c 108 register struct nit_hdr *nh; local
153 nh = (struct nit_hdr *)bp;
154 cp = bp + sizeof(*nh);
156 switch (nh->nh_state) {
164 pn->stat.ps_drop = nh->nh_dropped;
172 "bad nit state %d", nh->nh_state);
176 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
179 caplen = nh->nh_wirelen;
182 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
184 h.ts = nh->nh_timestamp
    [all...]
  /external/libcxxabi/src/
cxa_new_delete.cpp 46 std::new_handler nh = std::get_new_handler(); local
47 if (nh)
48 nh();
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_new_delete.cpp 46 std::new_handler nh = std::get_new_handler(); local
47 if (nh)
48 nh();
  /external/iproute2/ip/
ipmroute.c 149 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); local
155 if (len < sizeof(*nh))
157 if (nh->rtnh_len > len)
164 fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex));
165 if (nh->rtnh_hops > 1)
166 fprintf(fp, "(ttl %d) ", nh->rtnh_hops);
169 len -= NLMSG_ALIGN(nh->rtnh_len);
170 nh = RTNH_NEXT(nh);
  /external/iputils/ninfod/
ni_ifaddrs.c 165 struct nlmsghdr *nh; local
187 nh = (struct nlmsghdr *) buff;
188 for (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(nh, read_size)) {
189 if (nh->nlmsg_pid != pid || nh->nlmsg_seq != seq)
191 if (nh->nlmsg_type == NLMSG_DONE) {
195 if (nh->nlmsg_type == NLMSG_ERROR)
    [all...]
  /external/libcxx/src/
new.cpp 58 std::new_handler nh = std::get_new_handler(); local
59 if (nh)
60 nh();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
new.cpp 59 std::new_handler nh = std::get_new_handler(); local
60 if (nh)
61 nh();
  /system/extras/multinetwork/
common.cpp 42 net_handle_t nh; local
45 nh = strtoull(arg, &end, 0);
47 *nethandle = nh;
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/v850/
compare.s 15 setf nh,r5
  /external/blktrace/btt/
q2d.c 96 double nh = (double)q2dp->nhistos; local
99 double p = 100.0 * (double)q2dp->histos[i] / nh;
  /external/libnl/src/lib/
route.c 151 struct rtnl_nexthop *nh; local
157 if (!(nh = rtnl_route_nh_alloc()))
174 rtnl_route_nh_set_ifindex(nh, ival);
179 rtnl_route_nh_set_gateway(nh, addr);
189 rtnl_route_nh_set_weight(nh, lval);
194 rtnl_route_add_nexthop(route, nh);
  /external/libedit/src/
history.c 686 history_set_fun(TYPE(History) *h, TYPE(History) *nh)
690 if (nh->h_first == NULL || nh->h_next == NULL || nh->h_last == NULL ||
691 nh->h_prev == NULL || nh->h_curr == NULL || nh->h_set == NULL ||
692 nh->h_enter == NULL || nh->h_add == NULL || nh->h_clear == NULL |
    [all...]
  /device/moto/shamu/camera/QCamera/HAL/core/src/
QCameraHWI_Record.cpp 225 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
226 nh->data[0] = mHalCamCtrl->mRecordingMemory.mem_info[cnt].fd;
227 nh->data[1] = 0;
228 nh->data[2] = mHalCamCtrl->mRecordingMemory.mem_info[cnt].size;
  /hardware/qcom/camera/QCamera2/HAL/
QCameraMem.cpp 1339 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1402 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1479 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
    [all...]
  /device/moto/shamu/camera/QCamera2/HAL/
QCameraMem.cpp 1117 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1163 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1187 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
    [all...]
  /external/elfutils/libdwfl/
dwfl_segment_report_module.c 479 const GElf_Nhdr *nh = notes; local
480 while ((const void *) nh < (const void *) notes + filesz)
482 const void *note_name = nh + 1;
483 const void *note_desc = note_name + NOTE_ALIGN (nh->n_namesz);
485 - note_desc) < nh->n_descsz))
488 if (nh->n_type == NT_GNU_BUILD_ID
489 && nh->n_descsz > 0
490 && nh->n_namesz == sizeof "GNU"
494 build_id_len = nh->n_descsz;
495 build_id = malloc (nh->n_descsz)
    [all...]
  /device/huawei/angler/camera/QCamera2/HAL/
QCameraMem.cpp 1258 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1312 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
1394 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local
    [all...]

Completed in 680 milliseconds

1 2 3 4 5 6 7