Home
last modified time | relevance | path

Searched refs:srcaddr (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/include/
Dtst_netdevice.h77 const char *ifname, unsigned int family, const void *srcaddr,
81 #define NETDEV_ADD_ROUTE(ifname, family, srcaddr, srcprefix, srclen, dstaddr, \ argument
84 (srcaddr), (srcprefix), (srclen), (dstaddr), (dstprefix), \
93 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix,
95 #define NETDEV_ADD_ROUTE_INET(ifname, srcaddr, srcprefix, dstaddr, dstprefix, \ argument
97 tst_netdev_add_route_inet(__FILE__, __LINE__, (ifname), (srcaddr), \
104 const char *ifname, unsigned int family, const void *srcaddr,
108 #define NETDEV_REMOVE_ROUTE(ifname, family, srcaddr, srcprefix, srclen, \ argument
111 (srcaddr), (srcprefix), (srclen), (dstaddr), (dstprefix), \
118 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix,
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c48 static void extractsrc_u( GLubyte srcpixels[4][4], const GLubyte *srcaddr, in extractsrc_u() argument
54 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_u()
62 static void extractsrc_s( GLbyte srcpixels[4][4], const GLfloat *srcaddr, in extractsrc_s() argument
68 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_s()
84 const GLubyte *srcaddr; in _mesa_texstore_red_rgtc1() local
113 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_red_rgtc1()
117 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_red_rgtc1()
119 srcaddr += numxpixels; in _mesa_texstore_red_rgtc1()
137 const GLfloat *srcaddr; in _mesa_texstore_signed_red_rgtc1() local
166 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_signed_red_rgtc1()
[all …]
Dtexcompress_s3tc_tmp.h893 static void extractsrccolors( GLubyte srcpixels[4][4][4], const GLchan *srcaddr, in extractsrccolors() argument
899 curaddr = srcaddr + j * srcRowStride * comps; in extractsrccolors()
918 const GLchan *srcaddr = srcPixData; in tx_compress_dxt1() local
929 srcaddr = srcPixData + j * width * srccomps; in tx_compress_dxt1()
933 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxt1()
935 srcaddr += srccomps * numxpixels; in tx_compress_dxt1()
949 const GLchan *srcaddr = srcPixData; in tx_compress_dxt3() local
959 srcaddr = srcPixData + j * width * srccomps; in tx_compress_dxt3()
963 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxt3()
973 srcaddr += srccomps * numxpixels; in tx_compress_dxt3()
[all …]
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c423 struct sockaddr_in srcaddr; in lws_plat_inet_ntop() local
424 memset(&srcaddr, 0, sizeof(srcaddr)); in lws_plat_inet_ntop()
425 srcaddr.sin_family = AF_INET; in lws_plat_inet_ntop()
426 memcpy(&(srcaddr.sin_addr), src, sizeof(srcaddr.sin_addr)); in lws_plat_inet_ntop()
428 if (!WSAAddressToStringW((struct sockaddr*)&srcaddr, in lws_plat_inet_ntop()
429 sizeof(srcaddr), 0, buffer, in lws_plat_inet_ntop()
434 struct sockaddr_in6 srcaddr; in lws_plat_inet_ntop() local
435 memset(&srcaddr, 0, sizeof(srcaddr)); in lws_plat_inet_ntop()
436 srcaddr.sin6_family = AF_INET6; in lws_plat_inet_ntop()
437 memcpy(&(srcaddr.sin6_addr), src, sizeof(srcaddr.sin6_addr)); in lws_plat_inet_ntop()
[all …]
/third_party/ltp/lib/
Dtst_netdevice.c372 const void *srcaddr, unsigned int srcprefix, size_t srclen, in modify_route() argument
414 if (srcaddr && !tst_rtnl_add_attr(file, lineno, ctx, RTA_SRC, srcaddr, in modify_route()
452 in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, in modify_route_inet() argument
459 src = &srcaddr; in modify_route_inet()
460 srclen = sizeof(srcaddr); in modify_route_inet()
478 const char *ifname, unsigned int family, const void *srcaddr, in tst_netdev_add_route() argument
484 NLM_F_CREATE | NLM_F_EXCL, ifname, family, srcaddr, srcprefix, in tst_netdev_add_route()
489 const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in tst_netdev_add_route_inet() argument
493 NLM_F_CREATE | NLM_F_EXCL, ifname, srcaddr, srcprefix, dstaddr, in tst_netdev_add_route_inet()
498 const char *ifname, unsigned int family, const void *srcaddr, in tst_netdev_remove_route() argument
[all …]
/third_party/toybox/toys/net/
Dping.c92 union socksaddr srcaddr, srcaddr2; in ping_main() local
93 struct sockaddr *sa = (void *)&srcaddr; in ping_main()
110 memset(&srcaddr, 0, sizeof(srcaddr)); in ping_main()
113 (void *)&srcaddr.in.sin_addr)) in ping_main()
116 (void *)&srcaddr.in6.sin6_addr)) in ping_main()
158 if (TT.I) xbind(TT.sock, sa, sizeof(srcaddr)); in ping_main()
/third_party/toybox/porting/liteos_a/toys/net/
Dping.c94 union socksaddr srcaddr, srcaddr2; in ping_main() local
95 struct sockaddr *sa = (void *)&srcaddr; in ping_main()
114 memset(&srcaddr, 0, sizeof(srcaddr)); in ping_main()
117 (void *)&srcaddr.in.sin_addr)) in ping_main()
120 (void *)&srcaddr.in6.sin6_addr)) in ping_main()
163 if (TT.I) xbind(TT.sock, sa, sizeof(srcaddr)); in ping_main()
/third_party/toybox/toys/pending/
Dtftpd.c103 static void do_action(struct sockaddr *srcaddr, struct sockaddr *dstaddr, in do_action() argument
255 struct sockaddr_storage srcaddr, dstaddr; in tftpd_main() local
260 memset(&srcaddr, 0, sizeof(srcaddr)); in tftpd_main()
261 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) help_exit(0); in tftpd_main()
272 xbind(TT.sfd, (void *)&srcaddr, socklen); in tftpd_main()
319 do_action((struct sockaddr*)&srcaddr, (struct sockaddr*)&dstaddr, in tftpd_main()
/third_party/lwip/src/core/ipv6/
Dmld6.c315 mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr) argument
329 if (ip6_addr_isany(srcaddr) ||
330 netif_get_ip6_addr_match(netif, srcaddr) >= 0) {
408 mld6_leavegroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr) argument
422 if (ip6_addr_isany(srcaddr) ||
423 netif_get_ip6_addr_match(netif, srcaddr) >= 0) {
/third_party/lwip/src/include/lwip/
Dmld6.h80 err_t mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr);
82 err_t mld6_leavegroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr);
/third_party/ltp/doc/
Dnetwork-c-api.txt217 *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr,
222 address. Both packet source address +srcaddr+ and destination address
228 - +int NETDEV_ADD_ROUTE_INET(const char *ifname, in_addr_t srcaddr, unsigned
237 *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr,
243 - +int NETDEV_REMOVE_ROUTE_INET(const char *ifname, in_addr_t srcaddr,
/third_party/lwip/src/core/ipv4/
Detharp.c967 struct eth_addr *srcaddr = (struct eth_addr *)netif->hwaddr; local
1039 result = ethernet_output(netif, q, srcaddr, &(arp_table[i].ethaddr), ETHTYPE_IP);
/third_party/cups-filters/utils/
Dcups-browsed.c9965 allowed (struct sockaddr *srcaddr) in allowed() argument
10012 switch (srcaddr->sa_family) { in allowed()
10014 if (((struct sockaddr_in *) srcaddr)->sin_addr.s_addr == in allowed()
10022 if (!memcmp (&((struct sockaddr_in6 *) srcaddr)->sin6_addr, in allowed()
10033 switch (srcaddr->sa_family) { in allowed()
10037 if ((((struct sockaddr_in *) srcaddr)->sin_addr.s_addr & in allowed()
10046 src6addr = (struct sockaddr_in6 *) srcaddr; in allowed()
10770 http_addr_t srcaddr; in process_browse_data() local
10788 srclen = sizeof (srcaddr); in process_browse_data()
10790 &srcaddr.addr, &srclen); in process_browse_data()
[all …]
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h13484 struct sockaddr *srcaddr; member
/third_party/NuttX/
DReleaseNotes20237 - IPv6 Input: Fix a logic error when the received IPv6 srcaddr is a