| /freebsd-12-stable/contrib/smbfs/smbutil/ |
| D | dumptree.c | 91 print_shareinfo(struct smb_share_info *sip) in print_shareinfo() argument 95 iprintf(4, "Share: %s", sip->sname); in print_shareinfo() 96 printf("(%s:%s) %o", user_from_uid(sip->uid, 0), in print_shareinfo() 97 group_from_gid(sip->gid, 0), sip->mode); in print_shareinfo() 101 iprintf(8, "flags: 0x%04x %s\n", sip->flags, in print_shareinfo() 102 smb_printb(buf, sip->flags, ss_flags)); in print_shareinfo() 103 iprintf(8, "usecount: %d\n", sip->usecount); in print_shareinfo()
|
| /freebsd-12-stable/sys/sys/ |
| D | selinfo.h | 56 void seldrain(struct selinfo *sip); 57 void selrecord(struct thread *selector, struct selinfo *sip); 58 void selwakeup(struct selinfo *sip); 59 void selwakeuppri(struct selinfo *sip, int pri);
|
| /freebsd-12-stable/lib/libc/rpc/ |
| D | rpc_generic.c | 458 __rpc_fd2sockinfo(int fd, struct __rpc_sockinfo *sip) in __rpc_fd2sockinfo() argument 467 sip->si_alen = len; in __rpc_fd2sockinfo() 484 sip->si_af = ss.ss_family; in __rpc_fd2sockinfo() 485 sip->si_proto = proto; in __rpc_fd2sockinfo() 486 sip->si_socktype = type; in __rpc_fd2sockinfo() 495 __rpc_nconf2sockinfo(const struct netconfig *nconf, struct __rpc_sockinfo *sip) in __rpc_nconf2sockinfo() argument 503 sip->si_af = na_cvt[i].af; in __rpc_nconf2sockinfo() 504 sip->si_proto = na_cvt[i].protocol; in __rpc_nconf2sockinfo() 505 sip->si_socktype = in __rpc_nconf2sockinfo() 507 if (sip->si_socktype == -1) in __rpc_nconf2sockinfo() [all …]
|
| /freebsd-12-stable/tools/tools/net80211/wesside/dics/ |
| D | dics.c | 186 unsigned int udp_checksum(unsigned char *stuff0, int len, struct in_addr *sip, in udp_checksum() argument 199 memcpy(&ph->ippseudo_src, sip, 4); in udp_checksum() 210 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) { in send_stuff() argument 248 inet_aton(sip, &iph->ip_src); in send_stuff() 320 unsigned char* sip = 0; in main() local 333 sip = argv[1]; in main() 432 send_stuff(s, sip, ip, port, 69 + (TTLSENT-ttl)); in main() 439 send_stuff(s, sip, ip, port, PRGA_LEN); in main()
|
| /freebsd-12-stable/sys/rpc/ |
| D | rpc_generic.c | 187 __rpc_socket2sockinfo(struct socket *so, struct __rpc_sockinfo *sip) in __rpc_socket2sockinfo() argument 201 sip->si_alen = sa->sa_len; in __rpc_socket2sockinfo() 226 sip->si_af = family; in __rpc_socket2sockinfo() 227 sip->si_proto = proto; in __rpc_socket2sockinfo() 228 sip->si_socktype = type; in __rpc_socket2sockinfo() 237 __rpc_nconf2sockinfo(const struct netconfig *nconf, struct __rpc_sockinfo *sip) in __rpc_nconf2sockinfo() argument 245 sip->si_af = na_cvt[i].af; in __rpc_nconf2sockinfo() 246 sip->si_proto = na_cvt[i].protocol; in __rpc_nconf2sockinfo() 247 sip->si_socktype = in __rpc_nconf2sockinfo() 249 if (sip->si_socktype == -1) in __rpc_nconf2sockinfo() [all …]
|
| /freebsd-12-stable/sys/fs/nfs/ |
| D | nfs_commonport.c | 290 nfsvno_getfs(struct nfsfsinfo *sip, int isdgram) in nfsvno_getfs() argument 303 sip->fs_rtmax = NFS_SRVMAXIO; in nfsvno_getfs() 304 sip->fs_rtpref = pref; in nfsvno_getfs() 305 sip->fs_rtmult = NFS_FABLKSIZE; in nfsvno_getfs() 306 sip->fs_wtmax = NFS_SRVMAXIO; in nfsvno_getfs() 307 sip->fs_wtpref = pref; in nfsvno_getfs() 308 sip->fs_wtmult = NFS_FABLKSIZE; in nfsvno_getfs() 309 sip->fs_dtpref = pref; in nfsvno_getfs() 310 sip->fs_maxfilesize = 0xffffffffffffffffull; in nfsvno_getfs() 311 sip->fs_timedelta.tv_sec = 0; in nfsvno_getfs() [all …]
|
| /freebsd-12-stable/libexec/bootpd/ |
| D | trygetif.c | 37 struct sockaddr_in *sip; /* Interface address */ local 70 sip = (struct sockaddr_in *) &(ifr->ifr_addr); 71 printf("Intf-addr:%s\n", inet_ntoa(sip->sin_addr));
|
| D | getif.c | 50 struct sockaddr_in *sip; local 88 sip = (struct sockaddr_in *) &ifrq->ifr_addr; 89 m = nmatch((u_char *)addrp, (u_char *)&(sip->sin_addr));
|
| D | bootpd.c | 1091 struct sockaddr_in *sip; local 1092 sip = (struct sockaddr_in *) &(ifr->ifr_addr); 1093 siaddr = sip->sin_addr;
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_module.c | 1047 dtrace_syminfo_t *sip; in dt_module_extern() local 1062 if ((sip = malloc(sizeof (dtrace_syminfo_t))) == NULL) { in dt_module_extern() 1072 free(sip); in dt_module_extern() 1076 sip->dts_object = dmp->dm_name; in dt_module_extern() 1077 sip->dts_name = idp->di_name; in dt_module_extern() 1078 sip->dts_id = idp->di_id; in dt_module_extern() 1080 idp->di_data = sip; in dt_module_extern() 1451 GElf_Sym *symp, dtrace_syminfo_t *sip) in dtrace_lookup_by_name() argument 1492 if (sip != NULL) { in dtrace_lookup_by_name() 1493 sip->dts_object = dmp->dm_name; in dtrace_lookup_by_name() [all …]
|
| /freebsd-12-stable/libexec/bootpd/bootpgw/ |
| D | bootpgw.c | 550 struct sockaddr_in *sip; in handle_request() 564 sip = (struct sockaddr_in *) &(ifr->ifr_addr); in handle_request() 565 bp->bp_giaddr = sip->sin_addr; in handle_request() 610 struct sockaddr_in *sip; in handle_reply() local 633 sip = (struct sockaddr_in *) &(ifr->ifr_addr); in handle_reply() 634 bp->bp_giaddr = sip->sin_addr; in handle_reply()
|
| /freebsd-12-stable/sys/kern/ |
| D | sys_generic.c | 1652 seldrain(struct selinfo *sip) in seldrain() argument 1663 doselwakeup(sip, -1); in seldrain() 1670 selrecord(struct thread *selector, struct selinfo *sip) in selrecord() argument 1692 mtxp = sip->si_mtx; in selrecord() 1694 mtxp = mtx_pool_find(mtxpool_select, sip); in selrecord() 1698 sfp->sf_si = sip; in selrecord() 1706 if (sip->si_mtx == NULL) { in selrecord() 1707 sip->si_mtx = mtxp; in selrecord() 1708 TAILQ_INIT(&sip->si_tdlist); in selrecord() 1713 TAILQ_INSERT_TAIL(&sip->si_tdlist, sfp, sf_threads); in selrecord() [all …]
|
| D | kern_exit.c | 797 siginfo_t si, *sip; in sys_wait6() local 811 sip = &si; in sys_wait6() 812 bzero(sip, sizeof(*sip)); in sys_wait6() 814 sip = NULL; in sys_wait6() 820 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip); in sys_wait6()
|
| /freebsd-12-stable/sys/netsmb/ |
| D | smb_conn.c | 902 smb_share_getinfo(struct smb_share *ssp, struct smb_share_info *sip) in smb_share_getinfo() argument 904 bzero(sip, sizeof(struct smb_share_info)); in smb_share_getinfo() 905 sip->itype = SMB_INFO_SHARE; in smb_share_getinfo() 906 sip->usecount = ssp->obj.co_usecount; in smb_share_getinfo() 907 sip->tid = ssp->ss_tid; in smb_share_getinfo() 908 sip->type= ssp->ss_type; in smb_share_getinfo() 909 sip->uid = ssp->ss_uid; in smb_share_getinfo() 910 sip->gid = ssp->ss_grp; in smb_share_getinfo() 911 sip->mode= ssp->ss_mode; in smb_share_getinfo() 912 sip->flags = ssp->obj.co_flags; in smb_share_getinfo() [all …]
|
| /freebsd-12-stable/sbin/ipf/ipftest/ |
| D | ipftest.c | 70 struct in_addr sip; in main() local 85 sip.s_addr = 0; in main() 165 sip.s_addr = inet_addr(optarg); in main() 212 if (sip.s_addr) in main() 213 dir = !(sip.s_addr == ip->ip_src.s_addr); in main()
|
| /freebsd-12-stable/sys/dev/cxgbe/ |
| D | t4_filter.c | 93 hash = fnv_32_buf(&ft->sip[0], 16, FNV1_32_INIT); in hf_hashfn_4t() 96 hash = fnv_32_buf(&ft->sip[0], 4, FNV1_32_INIT); in hf_hashfn_4t() 227 if (bcmp(&fs1->val.sip[0], &fs2->val.sip[0], n) || in filter_eq() 676 bcopy(f->fs.val.sip, fwr->fip, sizeof (fwr->fip)); in set_tcamfilter() 677 bcopy(f->fs.mask.sip, fwr->fipm, sizeof (fwr->fipm)); in set_tcamfilter() 802 if (fs->mask.sip[i] != 0xff) in is_4tuple_specified() 1437 cpl->peer_ip_hi = *(uint64_t *)(&f->fs.val.sip); in mk_act_open_req6() 1438 cpl->peer_ip_lo = *(((uint64_t *)&f->fs.val.sip) + 1); in mk_act_open_req6() 1481 cpl->peer_ip = f->fs.val.sip[0] | f->fs.val.sip[1] << 8 | in mk_act_open_req() 1482 f->fs.val.sip[2] << 16 | f->fs.val.sip[3] << 24; in mk_act_open_req() [all …]
|
| /freebsd-12-stable/sys/dev/cxgb/ |
| D | cxgb_ioctl.h | 154 uint32_t sip; member 223 uint32_t sip; member
|
| /freebsd-12-stable/sys/netinet/ |
| D | if_ether.c | 345 arprequest(struct ifnet *ifp, const struct in_addr *sip, in arprequest() argument 357 if (sip == NULL) { in arprequest() 372 sip = &IA_SIN(ifa)->sin_addr; in arprequest() 375 sip = &IA_SIN(ifa)->sin_addr; in arprequest() 378 if (0 == ((sip->s_addr ^ tip->s_addr) & in arprequest() 383 if (sip == NULL) { in arprequest() 407 bcopy(sip, ar_spa(ah), ah->ar_pln); in arprequest()
|
| /freebsd-12-stable/contrib/gdb/gdb/ |
| D | mipsread.c | 193 alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, void *sip) in alphacoff_locate_sections() argument 197 si = (struct alphacoff_dynsecinfo *) sip; in alphacoff_locate_sections()
|
| /freebsd-12-stable/tools/tools/cxgbtool/ |
| D | cxgbtool.c | 1249 trace.sip = val; in trace_config() 1292 char sip[20], dip[20]; in show_filters() local 1311 nsip.nip = htonl(op.val.sip); in show_filters() 1314 sprintf(sip, "%u.%u.%u.%u/%-2u", nsip.octet[0], nsip.octet[1], in show_filters() 1316 op.mask.sip ? 33 - ffs(op.mask.sip) : 0); in show_filters() 1319 printf("%5zu %18s %15s ", (size_t)op.filter_id, sip, dip); in show_filters() 1375 ret = parse_ipaddr(argv[start_arg + 1], &op.val.sip, in filter_config() 1376 &op.mask.sip); in filter_config()
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_accel/ |
| D | ipsec.h | 74 __be32 sip[4]; member
|
| /freebsd-12-stable/tools/tools/netmap/ |
| D | pkt_hash.c | 113 sym_hash_fn(uint32_t sip, uint32_t dip, uint16_t sp, uint32_t dp) in sym_hash_fn() argument 118 uint8_t *sip_b = (uint8_t *)&sip, in sym_hash_fn()
|
| /freebsd-12-stable/contrib/gcc/config/rs6000/ |
| D | host-darwin.c | 67 siginfo_t *sip ATTRIBUTE_UNUSED, in segv_handler()
|
| /freebsd-12-stable/sbin/ggate/ggated/ |
| D | ggated.c | 126 static char sip[16]; in ip2str() local 128 snprintf(sip, sizeof(sip), "%u.%u.%u.%u", in ip2str() 133 return (sip); in ip2str()
|
| /freebsd-12-stable/contrib/diff/src/ |
| D | io.c | 97 sip (struct file_data *current, bool skip_test) in sip() function 812 bool appears_binary = pretend_binary | sip (&filevec[0], skip_test); in read_files() 815 appears_binary |= sip (&filevec[1], skip_test | appears_binary); in read_files()
|