/freebsd/sys/netinet/libalias/ |
H A D | alias_db.c | 207 GetNewPort(struct libalias *la, struct alias_link *lnk, int alias_port_param) in GetNewPort() argument 227 lnk->alias_port = (u_short) alias_port_param; in GetNewPort() 241 lnk->link_type == LINK_UDP) { in GetNewPort() 246 la, lnk->src_addr, lnk->src_port, lnk->link_type); in GetNewPort() 248 lnk->alias_port = search_result->alias_port; in GetNewPort() 260 ? lnk->src_port in GetNewPort() 268 grp = StartPointIn(la, lnk->alias_addr, port, lnk->link_type, 0); in GetNewPort() 276 lnk->link_type == LINK_UDP) in GetNewPort() 280 if (lnk->dst_addr.s_addr == in GetNewPort() 282 lnk->dst_port == search_result->dst_port) in GetNewPort() [all …]
|
H A D | alias.c | 191 TcpMonitorIn(uint16_t th_flags, struct alias_link *lnk) in TcpMonitorIn() argument 193 switch (GetStateIn(lnk)) { in TcpMonitorIn() 196 SetStateIn(lnk, ALIAS_TCP_STATE_DISCONNECTED); in TcpMonitorIn() 198 SetStateIn(lnk, ALIAS_TCP_STATE_CONNECTED); in TcpMonitorIn() 202 SetStateIn(lnk, ALIAS_TCP_STATE_DISCONNECTED); in TcpMonitorIn() 208 TcpMonitorOut(uint16_t th_flags, struct alias_link *lnk) in TcpMonitorOut() argument 210 switch (GetStateOut(lnk)) { in TcpMonitorOut() 213 SetStateOut(lnk, ALIAS_TCP_STATE_DISCONNECTED); in TcpMonitorOut() 215 SetStateOut(lnk, ALIAS_TCP_STATE_CONNECTED); in TcpMonitorOut() 219 SetStateOut(lnk, ALIAS_TCP_STATE_DISCONNECTED); in TcpMonitorOut() [all …]
|
H A D | alias_pptp.c | 82 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL) in fingerprint() 99 AliasHandlePptpIn(la, pip, ah->lnk); in protohandlerin() 106 AliasHandlePptpOut(la, pip, ah->lnk); in protohandlerout() 292 struct alias_link *lnk) /* The PPTP control link */ in AliasHandlePptpOut() argument 314 pptp_lnk = AddPptp(la, GetOriginalAddress(lnk), GetDestAddress(lnk), in AliasHandlePptpOut() 315 GetAliasAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 323 pptp_lnk = FindPptpOutByCallId(la, GetOriginalAddress(lnk), in AliasHandlePptpOut() 324 GetDestAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 364 struct alias_link *lnk) /* The PPTP control link */ in AliasHandlePptpIn() argument 389 pptp_lnk = FindPptpInByCallId(la, GetDestAddress(lnk), in AliasHandlePptpIn() [all …]
|
H A D | alias_skinny.c | 62 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL) in fingerprint() 73 AliasHandleSkinny(la, pip, ah->lnk); in protohandler() 208 struct tcphdr *tc, struct alias_link *lnk, in alias_skinny_reg_msg() argument 213 reg_msg->ipAddr = (u_int32_t)GetAliasAddress(lnk).s_addr; in alias_skinny_reg_msg() 228 struct alias_link *lnk, u_int32_t localIpAddr, in alias_skinny_startmedia() argument 235 (void)lnk; in alias_skinny_startmedia() 251 struct tcphdr *tc, struct alias_link *lnk, in alias_skinny_port_msg() argument 256 port_msg->stationIpPort = (u_int32_t)ntohs(GetAliasPort(lnk)); in alias_skinny_port_msg() 270 struct alias_link *lnk, u_int32_t * localIpAddr, in alias_skinny_opnrcvch_ack() argument 276 (void)lnk; in alias_skinny_opnrcvch_ack() [all …]
|
H A D | alias_ftp.c | 110 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || in fingerprint_out() 122 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL) in fingerprint_in() 133 AliasHandleFtpOut(la, pip, ah->lnk, ah->maxpktsize); in protohandler_out() 140 AliasHandleFtpIn(la, pip, ah->lnk); in protohandler_in() 219 struct alias_link *lnk, /* The link to go through (aliased port) */ in AliasHandleFtpOut() argument 242 pflags = GetProtocolFlags(lnk); in AliasHandleFtpOut() 263 NewFtpMessage(la, pip, lnk, maxpacketsize, ftp_message_type); in AliasHandleFtpOut() 274 SetProtocolFlags(lnk, pflags); in AliasHandleFtpOut() 281 struct alias_link *lnk) /* The link to go through (aliased port) */ in AliasHandleFtpIn() argument 301 pflags = GetProtocolFlags(lnk); in AliasHandleFtpIn() [all …]
|
H A D | alias_smedia.c | 140 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || in fingerprint() 157 else AliasHandleRtspOut(la, pip, ah->lnk, ah->maxpktsize); in protohandler() 232 struct alias_link *lnk, in alias_rtsp_out() argument 328 rtsp_lnk = FindRtspOut(la, GetOriginalAddress(lnk), null_addr, in alias_rtsp_out() 393 SetAckModified(lnk); in alias_rtsp_out() 395 delta = GetDeltaSeqOut(tc->th_seq, lnk); in alias_rtsp_out() 396 AddSeq(lnk, delta + new_dlen - dlen, pip->ip_hl, pip->ip_len, in alias_rtsp_out() 416 struct alias_link *lnk, in alias_pna_out() argument 438 pna_links = FindUdpTcpOut(la, pip->ip_src, GetDestAddress(lnk), in alias_pna_out() 465 AliasHandleRtspOut(struct libalias *la, struct ip *pip, struct alias_link *lnk, int maxpacketsize) in AliasHandleRtspOut() argument [all …]
|
H A D | alias_irc.c | 98 if (ah->dport == NULL || ah->lnk == NULL || ah->maxpktsize == 0) in fingerprint() 111 AliasHandleIrcOut(la, pip, ah->lnk, ah->maxpktsize); in protohandler() 165 struct alias_link *lnk, /* Which link are we on? */ in AliasHandleIrcOut() argument 378 alias_address = GetAliasAddress(lnk); in AliasHandleIrcOut() 437 SetAckModified(lnk); in AliasHandleIrcOut() 439 delta = GetDeltaSeqOut(tc->th_seq, lnk); in AliasHandleIrcOut() 440 AddSeq(lnk, delta + copyat + iCopy - dlen, pip->ip_hl, in AliasHandleIrcOut()
|
H A D | alias_nbt.c | 82 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || in fingerprint1() 94 return (AliasHandleUdpNbt(la, pip, ah->lnk, ah->aaddr, *ah->aport)); in protohandler1() 100 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || in fingerprint2() 112 AliasHandleUdpNbtNS(la, pip, ah->lnk, ah->aaddr, ah->aport, in protohandler2in() 120 return (AliasHandleUdpNbtNS(la, pip, ah->lnk, &pip->ip_src, ah->sport, in protohandler2out() 330 struct alias_link *lnk, in AliasHandleUdpNbt() argument 343 (void)lnk; in AliasHandleUdpNbt() 756 struct alias_link *lnk, in AliasHandleUdpNbtNS() argument 769 (void)lnk; in AliasHandleUdpNbtNS()
|
H A D | alias_proxy.c | 285 ProxyEncodeTcpStream(struct alias_link *lnk, in ProxyEncodeTcpStream() argument 298 if (GetAckModified(lnk)) in ProxyEncodeTcpStream() 303 inet_ntoa_r(GetProxyAddress(lnk), INET_NTOA_BUF(addrbuf)), in ProxyEncodeTcpStream() 304 (u_int)ntohs(GetProxyPort(lnk))); in ProxyEncodeTcpStream() 346 SetAckModified(lnk); in ProxyEncodeTcpStream() 348 delta = GetDeltaSeqOut(tc->th_seq, lnk); in ProxyEncodeTcpStream() 349 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq, in ProxyEncodeTcpStream() 492 ProxyModify(struct libalias *la, struct alias_link *lnk, in ProxyModify() argument 506 ProxyEncodeTcpStream(lnk, pip, maxpacketsize); in ProxyModify()
|
H A D | alias_local.h | 322 int GetDeltaSeqOut(u_long, struct alias_link *lnk); 323 void AddSeq(struct alias_link *lnk, int delta, u_int ip_hl,
|
H A D | alias_dummy.c | 69 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || in fingerprint()
|
H A D | alias_mod.h | 65 struct alias_link *lnk; member
|
/freebsd/usr.bin/cmp/tests/ |
H A D | cmp_test2.sh | 49 ln -s a a.lnk 50 ln -s b b.lnk 51 ln -s a a2.lnk 53 ln -s adup adup.lnk 54 atf_check -s exit:0 cmp a a.lnk 55 atf_check -s exit:0 cmp a.lnk a 56 atf_check -s not-exit:0 -o ignore cmp a b.lnk 57 atf_check -s not-exit:0 -o ignore cmp b.lnk a 58 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a a.lnk 59 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a.lnk a [all …]
|
/freebsd/usr.sbin/pw/ |
H A D | cpdir.c | 42 char *p, lnk[MAXPATHLEN], copybuf[4096]; in copymkdir() local 103 (len = readlinkat(skelfd, e->d_name, lnk, sizeof(lnk) -1)) in copymkdir() 105 lnk[len] = '\0'; in copymkdir() 106 symlinkat(lnk, homefd, p); in copymkdir()
|
/freebsd/sys/netgraph/ |
H A D | ng_nat.c | 286 struct alias_link *lnk; member 437 entry->lnk = LibAliasRedirectPort(priv->lib, in ng_nat_rcvmsg() 443 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 496 entry->lnk = LibAliasRedirectAddr(priv->lib, in ng_nat_rcvmsg() 499 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 548 entry->lnk = LibAliasRedirectProto(priv->lib, in ng_nat_rcvmsg() 552 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 609 entry->lnk) == -1) { in ng_nat_rcvmsg() 614 LibAliasRedirectDelete(priv->lib, entry->lnk); in ng_nat_rcvmsg() 646 if (LibAliasAddServer(priv->lib, entry->lnk, in ng_nat_rcvmsg()
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_mgmt.c | 309 uint16_t lnk; in bnxt_mgmt_get_dev_info() local 365 lnk = pci_read_config(softc->dev, capreg + PCIER_LINK_STA, 2); in bnxt_mgmt_get_dev_info() 366 dev_info.nic_info.pci_link_speed = (lnk & PCIEM_LINK_STA_SPEED); in bnxt_mgmt_get_dev_info() 367 dev_info.nic_info.pci_link_width = (lnk & PCIEM_LINK_STA_WIDTH) >> 4; in bnxt_mgmt_get_dev_info()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_newc.c | 99 archive_entry_set_pathname(entry, "lnk"); in DEFINE_TEST() 161 /* Third entry is "lnk" */ in DEFINE_TEST() 178 assertEqualMem(e + 110, "lnk\0\0\0", 6); /* Name contents */ in DEFINE_TEST()
|
/freebsd/usr.bin/xinstall/ |
H A D | xinstall.c | 655 char src[MAXPATHLEN], dst[MAXPATHLEN], lnk[MAXPATHLEN]; in makelink() local 776 for (++d, lnk[0] = '\0'; *d; d++) in makelink() 778 (void)strlcat(lnk, "../", sizeof(lnk)); in makelink() 780 (void)strlcat(lnk, ++s, sizeof(lnk)); in makelink() 782 do_symlink(lnk, to_name, target_sb); in makelink() 784 metadata_log(to_name, "link", NULL, lnk, NULL, 0); in makelink()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | symlink.cc | 131 const char FULLPATH[] = "mountpoint/lnk"; in TEST_F() 132 const char RELPATH[] = "lnk"; in TEST_F()
|
H A D | link.cc | 152 const char FULLPATH[] = "mountpoint/lnk"; in TEST_F() 153 const char RELPATH[] = "lnk"; in TEST_F()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | windows | 708 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/l/lnk-shortcut.trid.xml 711 # partly verified by command like `lnkinfo AOL.lnk` 716 !:ext lnk 840 …nd; 1~SW_SHOWNORMAL 3~SW_SHOWMAXIMIZED HerzlichMEDION.lnk 7~SW_SHOWMINNOACTIVE YaCy.lnk Privoxy.ln… 865 >>78 use lnk-item 868 >>>(78.s+78) use lnk-item 871 >>>>&-2 use lnk-item 874 >>>>>&-2 use lnk-item 879 >>>76 use lnk-info 883 #>>>>(76.s+78) use lnk-info [all …]
|
/freebsd/tools/regression/tmpfs/ |
H A D | t_readdir | 49 ln -s reg lnk || die
|
/freebsd/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_readdir.sh | 59 atf_check -s eq:0 -o empty -e empty ln -s reg lnk
|
/freebsd/sys/dev/mii/ |
H A D | icsphyreg.h | 53 * 8 ANg Nxt Page Lnk Parnt Abl * *
|
/freebsd/sys/contrib/device-tree/Bindings/display/panel/ |
H A D | panel-edp.yaml | 65 lnk data----------------+LnkTrn| Idle |Valid vid data| Idle/off+-------------
|