print-llc.c 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. /*
  2. * Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997
  3. * The Regents of the University of California. All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that: (1) source code distributions
  7. * retain the above copyright notice and this paragraph in its entirety, (2)
  8. * distributions including binary code include the above copyright notice and
  9. * this paragraph in its entirety in the documentation or other materials
  10. * provided with the distribution, and (3) all advertising materials mentioning
  11. * features or use of this software display the following acknowledgement:
  12. * ``This product includes software developed by the University of California,
  13. * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
  14. * the University nor the names of its contributors may be used to endorse
  15. * or promote products derived from this software without specific prior
  16. * written permission.
  17. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  18. * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  19. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  20. *
  21. * Code by Matt Thomas, Digital Equipment Corporation
  22. * with an awful lot of hacking by Jeffrey Mogul, DECWRL
  23. */
  24. /* \summary: IEEE 802.2 LLC printer */
  25. #ifdef HAVE_CONFIG_H
  26. #include "config.h"
  27. #endif
  28. #include <netdissect-stdinc.h>
  29. #include "netdissect.h"
  30. #include "addrtoname.h"
  31. #include "extract.h"
  32. #include "llc.h"
  33. #include "ethertype.h"
  34. #include "oui.h"
  35. static const struct tok llc_values[] = {
  36. { LLCSAP_NULL, "Null" },
  37. { LLCSAP_GLOBAL, "Global" },
  38. { LLCSAP_8021B_I, "802.1B I" },
  39. { LLCSAP_8021B_G, "802.1B G" },
  40. { LLCSAP_IP, "IP" },
  41. { LLCSAP_SNA, "SNA" },
  42. { LLCSAP_PROWAYNM, "ProWay NM" },
  43. { LLCSAP_8021D, "STP" },
  44. { LLCSAP_RS511, "RS511" },
  45. { LLCSAP_ISO8208, "ISO8208" },
  46. { LLCSAP_PROWAY, "ProWay" },
  47. { LLCSAP_SNAP, "SNAP" },
  48. { LLCSAP_IPX, "IPX" },
  49. { LLCSAP_NETBEUI, "NetBeui" },
  50. { LLCSAP_ISONS, "OSI" },
  51. { 0, NULL },
  52. };
  53. static const struct tok llc_cmd_values[] = {
  54. { LLC_UI, "ui" },
  55. { LLC_TEST, "test" },
  56. { LLC_XID, "xid" },
  57. { LLC_UA, "ua" },
  58. { LLC_DISC, "disc" },
  59. { LLC_DM, "dm" },
  60. { LLC_SABME, "sabme" },
  61. { LLC_FRMR, "frmr" },
  62. { 0, NULL }
  63. };
  64. static const struct tok llc_flag_values[] = {
  65. { 0, "Command" },
  66. { LLC_GSAP, "Response" },
  67. { LLC_U_POLL, "Poll" },
  68. { LLC_GSAP|LLC_U_POLL, "Final" },
  69. { LLC_IS_POLL, "Poll" },
  70. { LLC_GSAP|LLC_IS_POLL, "Final" },
  71. { 0, NULL }
  72. };
  73. static const struct tok llc_ig_flag_values[] = {
  74. { 0, "Individual" },
  75. { LLC_IG, "Group" },
  76. { 0, NULL }
  77. };
  78. static const struct tok llc_supervisory_values[] = {
  79. { 0, "Receiver Ready" },
  80. { 1, "Receiver not Ready" },
  81. { 2, "Reject" },
  82. { 0, NULL }
  83. };
  84. static const struct tok cisco_values[] = {
  85. { PID_CISCO_CDP, "CDP" },
  86. { PID_CISCO_VTP, "VTP" },
  87. { PID_CISCO_DTP, "DTP" },
  88. { PID_CISCO_UDLD, "UDLD" },
  89. { PID_CISCO_PVST, "PVST" },
  90. { PID_CISCO_VLANBRIDGE, "VLAN Bridge" },
  91. { 0, NULL }
  92. };
  93. static const struct tok bridged_values[] = {
  94. { PID_RFC2684_ETH_FCS, "Ethernet + FCS" },
  95. { PID_RFC2684_ETH_NOFCS, "Ethernet w/o FCS" },
  96. { PID_RFC2684_802_4_FCS, "802.4 + FCS" },
  97. { PID_RFC2684_802_4_NOFCS, "802.4 w/o FCS" },
  98. { PID_RFC2684_802_5_FCS, "Token Ring + FCS" },
  99. { PID_RFC2684_802_5_NOFCS, "Token Ring w/o FCS" },
  100. { PID_RFC2684_FDDI_FCS, "FDDI + FCS" },
  101. { PID_RFC2684_FDDI_NOFCS, "FDDI w/o FCS" },
  102. { PID_RFC2684_802_6_FCS, "802.6 + FCS" },
  103. { PID_RFC2684_802_6_NOFCS, "802.6 w/o FCS" },
  104. { PID_RFC2684_BPDU, "BPDU" },
  105. { 0, NULL },
  106. };
  107. static const struct tok null_values[] = {
  108. { 0, NULL }
  109. };
  110. struct oui_tok {
  111. uint32_t oui;
  112. const struct tok *tok;
  113. };
  114. static const struct oui_tok oui_to_tok[] = {
  115. { OUI_ENCAP_ETHER, ethertype_values },
  116. { OUI_CISCO_90, ethertype_values }, /* uses some Ethertype values */
  117. { OUI_APPLETALK, ethertype_values }, /* uses some Ethertype values */
  118. { OUI_CISCO, cisco_values },
  119. { OUI_RFC2684, bridged_values }, /* bridged, RFC 2427 FR or RFC 2864 ATM */
  120. { 0, NULL }
  121. };
  122. /*
  123. * If we printed information about the payload, returns the length of the LLC
  124. * header, plus the length of any SNAP header following it.
  125. *
  126. * Otherwise (for example, if the packet has unknown SAPs or has a SNAP
  127. * header with an unknown OUI/PID combination), returns the *negative*
  128. * of that value.
  129. */
  130. int
  131. llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen,
  132. const struct lladdr_info *src, const struct lladdr_info *dst)
  133. {
  134. uint8_t dsap_field, dsap, ssap_field, ssap;
  135. uint16_t control;
  136. int hdrlen;
  137. int is_u;
  138. if (caplen < 3) {
  139. ND_PRINT((ndo, "[|llc]"));
  140. ND_DEFAULTPRINT((const u_char *)p, caplen);
  141. return (caplen);
  142. }
  143. if (length < 3) {
  144. ND_PRINT((ndo, "[|llc]"));
  145. ND_DEFAULTPRINT((const u_char *)p, caplen);
  146. return (length);
  147. }
  148. dsap_field = *p;
  149. ssap_field = *(p + 1);
  150. /*
  151. * OK, what type of LLC frame is this? The length
  152. * of the control field depends on that - I frames
  153. * have a two-byte control field, and U frames have
  154. * a one-byte control field.
  155. */
  156. control = *(p + 2);
  157. if ((control & LLC_U_FMT) == LLC_U_FMT) {
  158. /*
  159. * U frame.
  160. */
  161. is_u = 1;
  162. hdrlen = 3; /* DSAP, SSAP, 1-byte control field */
  163. } else {
  164. /*
  165. * The control field in I and S frames is
  166. * 2 bytes...
  167. */
  168. if (caplen < 4) {
  169. ND_PRINT((ndo, "[|llc]"));
  170. ND_DEFAULTPRINT((const u_char *)p, caplen);
  171. return (caplen);
  172. }
  173. if (length < 4) {
  174. ND_PRINT((ndo, "[|llc]"));
  175. ND_DEFAULTPRINT((const u_char *)p, caplen);
  176. return (length);
  177. }
  178. /*
  179. * ...and is little-endian.
  180. */
  181. control = EXTRACT_LE_16BITS(p + 2);
  182. is_u = 0;
  183. hdrlen = 4; /* DSAP, SSAP, 2-byte control field */
  184. }
  185. if (ssap_field == LLCSAP_GLOBAL && dsap_field == LLCSAP_GLOBAL) {
  186. /*
  187. * This is an Ethernet_802.3 IPX frame; it has an
  188. * 802.3 header (i.e., an Ethernet header where the
  189. * type/length field is <= ETHERMTU, i.e. it's a length
  190. * field, not a type field), but has no 802.2 header -
  191. * the IPX packet starts right after the Ethernet header,
  192. * with a signature of two bytes of 0xFF (which is
  193. * LLCSAP_GLOBAL).
  194. *
  195. * (It might also have been an Ethernet_802.3 IPX at
  196. * one time, but got bridged onto another network,
  197. * such as an 802.11 network; this has appeared in at
  198. * least one capture file.)
  199. */
  200. if (ndo->ndo_eflag)
  201. ND_PRINT((ndo, "IPX 802.3: "));
  202. ipx_print(ndo, p, length);
  203. return (0); /* no LLC header */
  204. }
  205. dsap = dsap_field & ~LLC_IG;
  206. ssap = ssap_field & ~LLC_GSAP;
  207. if (ndo->ndo_eflag) {
  208. ND_PRINT((ndo, "LLC, dsap %s (0x%02x) %s, ssap %s (0x%02x) %s",
  209. tok2str(llc_values, "Unknown", dsap),
  210. dsap,
  211. tok2str(llc_ig_flag_values, "Unknown", dsap_field & LLC_IG),
  212. tok2str(llc_values, "Unknown", ssap),
  213. ssap,
  214. tok2str(llc_flag_values, "Unknown", ssap_field & LLC_GSAP)));
  215. if (is_u) {
  216. ND_PRINT((ndo, ", ctrl 0x%02x: ", control));
  217. } else {
  218. ND_PRINT((ndo, ", ctrl 0x%04x: ", control));
  219. }
  220. }
  221. /*
  222. * Skip LLC header.
  223. */
  224. p += hdrlen;
  225. length -= hdrlen;
  226. caplen -= hdrlen;
  227. if (ssap == LLCSAP_SNAP && dsap == LLCSAP_SNAP
  228. && control == LLC_UI) {
  229. /*
  230. * XXX - what *is* the right bridge pad value here?
  231. * Does anybody ever bridge one form of LAN traffic
  232. * over a networking type that uses 802.2 LLC?
  233. */
  234. if (!snap_print(ndo, p, length, caplen, src, dst, 2)) {
  235. /*
  236. * Unknown packet type; tell our caller, by
  237. * returning a negative value, so they
  238. * can print the raw packet.
  239. */
  240. return (-(hdrlen + 5)); /* include LLC and SNAP header */
  241. } else
  242. return (hdrlen + 5); /* include LLC and SNAP header */
  243. }
  244. if (ssap == LLCSAP_8021D && dsap == LLCSAP_8021D &&
  245. control == LLC_UI) {
  246. stp_print(ndo, p, length);
  247. return (hdrlen);
  248. }
  249. if (ssap == LLCSAP_IP && dsap == LLCSAP_IP &&
  250. control == LLC_UI) {
  251. /*
  252. * This is an RFC 948-style IP packet, with
  253. * an 802.3 header and an 802.2 LLC header
  254. * with the source and destination SAPs being
  255. * the IP SAP.
  256. */
  257. ip_print(ndo, p, length);
  258. return (hdrlen);
  259. }
  260. if (ssap == LLCSAP_IPX && dsap == LLCSAP_IPX &&
  261. control == LLC_UI) {
  262. /*
  263. * This is an Ethernet_802.2 IPX frame, with an 802.3
  264. * header and an 802.2 LLC header with the source and
  265. * destination SAPs being the IPX SAP.
  266. */
  267. if (ndo->ndo_eflag)
  268. ND_PRINT((ndo, "IPX 802.2: "));
  269. ipx_print(ndo, p, length);
  270. return (hdrlen);
  271. }
  272. #ifdef ENABLE_SMB
  273. if (ssap == LLCSAP_NETBEUI && dsap == LLCSAP_NETBEUI
  274. && (!(control & LLC_S_FMT) || control == LLC_U_FMT)) {
  275. /*
  276. * we don't actually have a full netbeui parser yet, but the
  277. * smb parser can handle many smb-in-netbeui packets, which
  278. * is very useful, so we call that
  279. *
  280. * We don't call it for S frames, however, just I frames
  281. * (which are frames that don't have the low-order bit,
  282. * LLC_S_FMT, set in the first byte of the control field)
  283. * and UI frames (whose control field is just 3, LLC_U_FMT).
  284. */
  285. netbeui_print(ndo, control, p, length);
  286. return (hdrlen);
  287. }
  288. #endif
  289. if (ssap == LLCSAP_ISONS && dsap == LLCSAP_ISONS
  290. && control == LLC_UI) {
  291. isoclns_print(ndo, p, length);
  292. return (hdrlen);
  293. }
  294. if (!ndo->ndo_eflag) {
  295. if (ssap == dsap) {
  296. if (src == NULL || dst == NULL)
  297. ND_PRINT((ndo, "%s ", tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)));
  298. else
  299. ND_PRINT((ndo, "%s > %s %s ",
  300. (src->addr_string)(ndo, src->addr),
  301. (dst->addr_string)(ndo, dst->addr),
  302. tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)));
  303. } else {
  304. if (src == NULL || dst == NULL)
  305. ND_PRINT((ndo, "%s > %s ",
  306. tok2str(llc_values, "Unknown SSAP 0x%02x", ssap),
  307. tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)));
  308. else
  309. ND_PRINT((ndo, "%s %s > %s %s ",
  310. (src->addr_string)(ndo, src->addr),
  311. tok2str(llc_values, "Unknown SSAP 0x%02x", ssap),
  312. (dst->addr_string)(ndo, dst->addr),
  313. tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)));
  314. }
  315. }
  316. if (is_u) {
  317. ND_PRINT((ndo, "Unnumbered, %s, Flags [%s], length %u",
  318. tok2str(llc_cmd_values, "%02x", LLC_U_CMD(control)),
  319. tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_U_POLL)),
  320. length + hdrlen));
  321. if ((control & ~LLC_U_POLL) == LLC_XID) {
  322. if (length == 0) {
  323. /*
  324. * XID with no payload.
  325. * This could, for example, be an SNA
  326. * "short form" XID.
  327. */
  328. return (hdrlen);
  329. }
  330. if (caplen < 1) {
  331. ND_PRINT((ndo, "[|llc]"));
  332. if (caplen > 0)
  333. ND_DEFAULTPRINT((const u_char *)p, caplen);
  334. return (hdrlen);
  335. }
  336. if (*p == LLC_XID_FI) {
  337. if (caplen < 3 || length < 3) {
  338. ND_PRINT((ndo, "[|llc]"));
  339. if (caplen > 0)
  340. ND_DEFAULTPRINT((const u_char *)p, caplen);
  341. } else
  342. ND_PRINT((ndo, ": %02x %02x", p[1], p[2]));
  343. return (hdrlen);
  344. }
  345. }
  346. } else {
  347. if ((control & LLC_S_FMT) == LLC_S_FMT) {
  348. ND_PRINT((ndo, "Supervisory, %s, rcv seq %u, Flags [%s], length %u",
  349. tok2str(llc_supervisory_values,"?",LLC_S_CMD(control)),
  350. LLC_IS_NR(control),
  351. tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),
  352. length + hdrlen));
  353. return (hdrlen); /* no payload to print */
  354. } else {
  355. ND_PRINT((ndo, "Information, send seq %u, rcv seq %u, Flags [%s], length %u",
  356. LLC_I_NS(control),
  357. LLC_IS_NR(control),
  358. tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),
  359. length + hdrlen));
  360. }
  361. }
  362. return (-hdrlen);
  363. }
  364. static const struct tok *
  365. oui_to_struct_tok(uint32_t orgcode)
  366. {
  367. const struct tok *tok = null_values;
  368. const struct oui_tok *otp;
  369. for (otp = &oui_to_tok[0]; otp->tok != NULL; otp++) {
  370. if (otp->oui == orgcode) {
  371. tok = otp->tok;
  372. break;
  373. }
  374. }
  375. return (tok);
  376. }
  377. int
  378. snap_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen,
  379. const struct lladdr_info *src, const struct lladdr_info *dst,
  380. u_int bridge_pad)
  381. {
  382. uint32_t orgcode;
  383. register u_short et;
  384. register int ret;
  385. ND_TCHECK2(*p, 5);
  386. if (caplen < 5 || length < 5)
  387. goto trunc;
  388. orgcode = EXTRACT_24BITS(p);
  389. et = EXTRACT_16BITS(p + 3);
  390. if (ndo->ndo_eflag) {
  391. /*
  392. * Somebody's already printed the MAC addresses, if there
  393. * are any, so just print the SNAP header, not the MAC
  394. * addresses.
  395. */
  396. ND_PRINT((ndo, "oui %s (0x%06x), %s %s (0x%04x), length %u: ",
  397. tok2str(oui_values, "Unknown", orgcode),
  398. orgcode,
  399. (orgcode == 0x000000 ? "ethertype" : "pid"),
  400. tok2str(oui_to_struct_tok(orgcode), "Unknown", et),
  401. et, length - 5));
  402. }
  403. p += 5;
  404. length -= 5;
  405. caplen -= 5;
  406. switch (orgcode) {
  407. case OUI_ENCAP_ETHER:
  408. case OUI_CISCO_90:
  409. /*
  410. * This is an encapsulated Ethernet packet,
  411. * or a packet bridged by some piece of
  412. * Cisco hardware; the protocol ID is
  413. * an Ethernet protocol type.
  414. */
  415. ret = ethertype_print(ndo, et, p, length, caplen, src, dst);
  416. if (ret)
  417. return (ret);
  418. break;
  419. case OUI_APPLETALK:
  420. if (et == ETHERTYPE_ATALK) {
  421. /*
  422. * No, I have no idea why Apple used one
  423. * of their own OUIs, rather than
  424. * 0x000000, and an Ethernet packet
  425. * type, for Appletalk data packets,
  426. * but used 0x000000 and an Ethernet
  427. * packet type for AARP packets.
  428. */
  429. ret = ethertype_print(ndo, et, p, length, caplen, src, dst);
  430. if (ret)
  431. return (ret);
  432. }
  433. break;
  434. case OUI_CISCO:
  435. switch (et) {
  436. case PID_CISCO_CDP:
  437. cdp_print(ndo, p, length, caplen);
  438. return (1);
  439. case PID_CISCO_DTP:
  440. dtp_print(ndo, p, length);
  441. return (1);
  442. case PID_CISCO_UDLD:
  443. udld_print(ndo, p, length);
  444. return (1);
  445. case PID_CISCO_VTP:
  446. vtp_print(ndo, p, length);
  447. return (1);
  448. case PID_CISCO_PVST:
  449. case PID_CISCO_VLANBRIDGE:
  450. stp_print(ndo, p, length);
  451. return (1);
  452. default:
  453. break;
  454. }
  455. break;
  456. case OUI_RFC2684:
  457. switch (et) {
  458. case PID_RFC2684_ETH_FCS:
  459. case PID_RFC2684_ETH_NOFCS:
  460. /*
  461. * XXX - remove the last two bytes for
  462. * PID_RFC2684_ETH_FCS?
  463. */
  464. /*
  465. * Skip the padding.
  466. */
  467. ND_TCHECK2(*p, bridge_pad);
  468. caplen -= bridge_pad;
  469. length -= bridge_pad;
  470. p += bridge_pad;
  471. /*
  472. * What remains is an Ethernet packet.
  473. */
  474. ether_print(ndo, p, length, caplen, NULL, NULL);
  475. return (1);
  476. case PID_RFC2684_802_5_FCS:
  477. case PID_RFC2684_802_5_NOFCS:
  478. /*
  479. * XXX - remove the last two bytes for
  480. * PID_RFC2684_ETH_FCS?
  481. */
  482. /*
  483. * Skip the padding, but not the Access
  484. * Control field.
  485. */
  486. ND_TCHECK2(*p, bridge_pad);
  487. caplen -= bridge_pad;
  488. length -= bridge_pad;
  489. p += bridge_pad;
  490. /*
  491. * What remains is an 802.5 Token Ring
  492. * packet.
  493. */
  494. token_print(ndo, p, length, caplen);
  495. return (1);
  496. case PID_RFC2684_FDDI_FCS:
  497. case PID_RFC2684_FDDI_NOFCS:
  498. /*
  499. * XXX - remove the last two bytes for
  500. * PID_RFC2684_ETH_FCS?
  501. */
  502. /*
  503. * Skip the padding.
  504. */
  505. ND_TCHECK2(*p, bridge_pad + 1);
  506. caplen -= bridge_pad + 1;
  507. length -= bridge_pad + 1;
  508. p += bridge_pad + 1;
  509. /*
  510. * What remains is an FDDI packet.
  511. */
  512. fddi_print(ndo, p, length, caplen);
  513. return (1);
  514. case PID_RFC2684_BPDU:
  515. stp_print(ndo, p, length);
  516. return (1);
  517. }
  518. }
  519. if (!ndo->ndo_eflag) {
  520. /*
  521. * Nobody printed the link-layer addresses, so print them, if
  522. * we have any.
  523. */
  524. if (src != NULL && dst != NULL) {
  525. ND_PRINT((ndo, "%s > %s ",
  526. (src->addr_string)(ndo, src->addr),
  527. (dst->addr_string)(ndo, dst->addr)));
  528. }
  529. /*
  530. * Print the SNAP header, but if the OUI is 000000, don't
  531. * bother printing it, and report the PID as being an
  532. * ethertype.
  533. */
  534. if (orgcode == 0x000000) {
  535. ND_PRINT((ndo, "SNAP, ethertype %s (0x%04x), length %u: ",
  536. tok2str(ethertype_values, "Unknown", et),
  537. et, length));
  538. } else {
  539. ND_PRINT((ndo, "SNAP, oui %s (0x%06x), pid %s (0x%04x), length %u: ",
  540. tok2str(oui_values, "Unknown", orgcode),
  541. orgcode,
  542. tok2str(oui_to_struct_tok(orgcode), "Unknown", et),
  543. et, length));
  544. }
  545. }
  546. return (0);
  547. trunc:
  548. ND_PRINT((ndo, "[|snap]"));
  549. return (1);
  550. }
  551. /*
  552. * Local Variables:
  553. * c-style: whitesmith
  554. * c-basic-offset: 8
  555. * End:
  556. */