text
stringlengths
1
22.8M
The Cuba women's national baseball team is a national team of Cuba and is controlled by the Baseball Federation of Cuba. It represents the nation in women's international competition. The team is a member of the Pan American Baseball Confederation. Rosters 2015 Pan American Games The Cuba women's national baseball team roster for the 2015 Pan American Games (as of 19 July 2015): Leydis Arzuaga (C) Yurismary Baez (OF) Yulisa Barban (OF) Dayanna Batista (IF) Vania Cabrera (IF) Ana Castellanos (P) Yoidania Castro (P) Enelsy Cordovi (P) Yanet Cruz (P) Libia Duarte (IF) Jessica Herrera (IF) Yadira Lopez (P) Dianelis Munoz (OF) Odrisleisis Peguero (OF) Nilsa Rodriguez (IF) Yordanka Rodriguez (C) Mayumis Solano (P) Mariandy Torres (OF) Legend: C = Catcher, IF = Infielder, OF = Outfielder, P = Pitcher References Women's national baseball teams W
Querner is a German surname. Notable people with the surname include: Curt Querner (1904–1976), German painter Rudolf Querner (1893-1945), German SS functionary German-language surnames
The Solent-class lifeboat is a steel-hulled version of the Oakley-class self-righting lifeboat and is sometimes referred to as the 48-foot, 6-inch Oakley-class Mark III. Solent Operational Numbers followed on from the first three 48-foot, 6-inch Oakleys and were interrupted by the last two Oakleys (48-12 and 48-13). The operational numbers of the Solent-class had three digits in the suffix to indicate a metal hull (as with Clyde, Waveney, Thames and Tyne classes, one Arun class and the first eleven Merseys). Two digits indicates a wooden, glass-reinforced plastic or fiber-reinforced composite hull. Description The Solent was powered by twin 110 bhp Gardner 6LX diesel engines which gave the boat a top speed of . There were twin spade rudders installed which were coupled to Mathway manual steering gear. Apart from the steel hull, the Solent-class differed from the Oakley-class in its self-righting mechanism. The Oakley used a water ballast system, while the Solent class was self-righting as a result of its watertight superstructure. The Solent was the last class of traditional displacement-type lifeboats designed by the Royal National Lifeboat Institution. There were two versions of the Solent, unofficially known as "Mark I" and "Mark II". The "Mark I" boats have a vertical steering wheel. Sliding doors provide access to the forward end of the wheelhouse on each side. The "Mark II" boats have a seated steering position with hinged wheelhouse doors at the after end of the wheelhouse. These boats entered service in 1972. The first four Solent-class boats (ON 1007-1010) and the last three (ON 1019-1021) were built at Cowes by Groves & Guttridge. The second four (ON 1011-1014) were built at Gosport by Camper & Nicholson. Fleet References Royal National Lifeboat Institution lifeboats
Jillian Whiting is an Australian television presenter. Whiting has previously been a presenter on Nine News Queensland. Early life Whiting was born in Mackay, Queensland on 12 July 1971, moving with her family to Brisbane after her parents divorced. The move enabled her brother Chris to attend university and so she could attend high school in Brisbane. Career After graduating from the University of Queensland, Whiting took up a position as a research assistant in 1991 with Seven Brisbane where she later became a reporter and weekend news presenter for Seven News. She joined Nine Brisbane in 1996 as a reporter and soon became presenter of the weekend editions of Nine News Queensland. She became co-presenter of the weekday news with Bruce Paige in 2001; together, they took the bulletin to the top of the ratings in Queensland and were presenting at the time when the September 11 attacks took place. She later returned to presenting on weekends following the birth of her first child. In 2006 she became presenter of the Gold Coast edition of Nine Gold Coast News after production moved to Brisbane, and soon after assumed role as presenter of Extra, Nine's local tabloid current affairs program. In December 2008, Whiting resigned from the Nine Network in Brisbane. In January 2009, Jillian returned to Seven Brisbane where she became a presenter on Queensland Weekender, a fill-in presenter on Seven News Brisbane and occasional Sunrise reporter. During recent years Whiting has been a presenter with Brisbane radio station 4BC and a columnist for The Courier-Mail. Whiting is currently involved in media consulting work which has included establishing her own media consulting business. Personal life Whiting is married and has two children. Whiting has a sister and a brother, Chris. In 2009, Whiting said she regretted keeping her maiden name when she married her husband. References External links Saxton Speakers profile Nine News presenters Living people 1971 births University of Queensland alumni
The E. V. Cooke House is a historic house located northeast of Jerome, Idaho. The lava rock house was constructed in 1919 by stonemason H. T. Pugh. The bungalow-style home features a gable roof with exposed rafters, a gabled dormer with bracketed eaves, and a full porch. The home is similar in style to Pugh's E. C. Gleason House, which he built in Jerome the prior year. The house was added to the National Register of Historic Places on September 8, 1983. References Houses on the National Register of Historic Places in Idaho Houses completed in 1919 Houses in Jerome County, Idaho National Register of Historic Places in Jerome County, Idaho
The 2021–22 Ardal NE season (also known as the 2021–22 Lock Stock Ardal NE season for sponsorship reasons) was the first season of the new third-tier northern region football in Welsh football pyramid, part of the Ardal Leagues, after the cancellation of the previous season due to the COVID-19 pandemic in Wales. Teams The league was made up of 16 teams competing for one automatic promotion place to Cymru North, whilst the second-placed team qualified for a play-off with the second-placed team of Ardal NW. Three teams were relegated to Tier 4. Team changes To Ardal NE Promoted from Mid Wales Football League Division 2 Dolgellau Athletic From Ardal NE Demoted to Mid Wales Football League East Division Montgomery Town Stadia and locations Source: Ardal NE Ground Information League table Results References External links Football Association of Wales Ardal Northern Leagues Ardal Northern Twitter Page Tier 3 Rules & Regulations 2021–22 in Welsh football Ardal Leagues
Mia Gundersen (born 27 October 1961) is a Norwegian singer and actress. She was born in Stavanger. Gundersen made her album debut in 1982 along with the group Asfalt, and as solo artist in 1987 with the album Temptation. She made her stage debut at Rogaland Teater in 1987, in the cabaret Johanna og Broremann. Her breakthrough was as the character "Eliza Doolittle" in the musical My Fair Lady in 1990. Gundersen has participated in the song contest Melodi Grand Prix several times. She played a leading role in the television soap series (1996–1999). External links References 1961 births Living people Actors from Stavanger 20th-century Norwegian women singers 20th-century Norwegian singers 20th-century Norwegian actresses Norwegian stage actresses Norwegian soap opera actresses Musicians from Stavanger
```makefile libavformat/samidec.o: libavformat/samidec.c libavformat/avformat.h \ libavcodec/avcodec.h libavutil/samplefmt.h libavutil/avutil.h \ libavutil/common.h libavutil/attributes.h libavutil/macros.h \ libavutil/version.h libavutil/avconfig.h config.h libavutil/intmath.h \ libavutil/mem.h libavutil/error.h libavutil/internal.h libavutil/timer.h \ libavutil/log.h libavutil/cpu.h libavutil/dict.h libavutil/pixfmt.h \ libavutil/libm.h libavutil/intfloat.h libavutil/mathematics.h \ libavutil/rational.h libavutil/attributes.h libavutil/avutil.h \ libavutil/buffer.h libavutil/cpu.h libavutil/channel_layout.h \ libavutil/dict.h libavutil/frame.h libavutil/buffer.h \ libavutil/samplefmt.h libavutil/log.h libavutil/pixfmt.h \ libavutil/rational.h libavcodec/version.h libavutil/version.h \ libavformat/avio.h libavutil/common.h libavformat/version.h \ libavformat/internal.h libavutil/bprint.h libavutil/avstring.h \ libavformat/os_support.h libavformat/subtitles.h libavcodec/internal.h \ libavutil/mathematics.h libavcodec/avcodec.h libavutil/avstring.h \ libavutil/intreadwrite.h libavutil/bswap.h ```
Maryna Pryshchepa (Ukrainian: Марина Прищепа; born 28 July 1983) is a Ukrainian judoka. Career She competed at the 2008 Summer Olympics (Beijing) in the -78 kg event and lost her opening match to Heide Wollert. Four years later in London, she participated in the -78 kg tournament of the 2012 Summer Olympics and was eliminated in her first match by Audrey Tcheuméo of France. Pryshchepa won a silver medal at the 2009 World Judo Championships. She also has a silver medal (2009) and four bronze medals (2006, 2007, 2010, 2012) at the European Judo Championships. Pryshchepa is also competing in sambo and sumo. She is a world sambo champion. Since 2008 Pryshchepa has been representing Ukraine in sumo. She won two medals in sumo at the World Games. References External links 1983 births Living people Ukrainian female judoka Ukrainian sumo wrestlers Sportspeople from Kyiv Olympic judoka for Ukraine Judoka at the 2008 Summer Olympics Judoka at the 2012 Summer Olympics World Games gold medalists World Games silver medalists Competitors at the 2009 World Games Competitors at the 2013 World Games Kyiv National University of Trade and Economics alumni 21st-century Ukrainian women
The Bare Cemetery is a cemetery complex in Sarajevo, Bosnia and Herzegovina opened in 1965, with the first funeral and interment occurring on 3 January 1966. The central part of the cemetery is a spacious plateau with a staircase and a porch that connects the Catholic, Orthodox, Muslim, Jewish and atheist chapels, designed by Smiljan Klaić, and the frescoes in the porch were painted by Rizah Štetić. Burials Alija Behmen (1940–2018), politician and former Mayor of Sarajevo Hasan Brkić (1913–1965), politician and partisan Goran Čengić (1946–1992), handball player Mirza Delibašić (1954–2001), basketball player Jovan Divjak (1937–2021), Bosnian army general Srđan Dizdarević (1952–2016), journalist, diplomat, and activist Ines Fančović (1925–2011), actress Muhamed Filipović (1929–2020), writer, essayist, theorist and philosopher Anur Hadžiomerspahić (1971–2017), artist and graphic designer Slobodan Kovačević (1946–2004), rock guitarist Žan Marolt (1964–2009), actor Božidar Matić (1937–2016), politician and former Chairman of the Council of Ministers Kemal Monteno (1948–2015), singer-songwriter Ivica Osim (1941–2022), footballer and football coach Davorin Popović (1946–2001), singer-songwriter Vaso Radić (1923–2011), politician and former Mayor of Sarajevo Milan Ribar (1930–1996), footballer and football coach Dražen Ričl (1962–1986), rock musician Beba Selimović (1936–2020), folk and sevdalinka singer Mirsad Tuka (1965–2023), actor Emina Zečaj (1929–2020), sevdalinka singer References External links 1965 establishments in Bosnia and Herzegovina Cemeteries in Sarajevo Cemeteries established in the 1960s
Perilla frutescens var. crispa, also known by its Japanese name shiso, is a cultigen of Perilla frutescens, a herb in the mint family Lamiaceae. It is native to the mountainous regions of China and India, but is now found worldwide. The plant occurs in several forms, as defined by the characteristics of their leaves, including red, green, bicolor, and ruffled. Shiso is perennial and may be cultivated as an annual in temperate climates. Different parts of the plant are used in East Asian and Southeast Asian cuisine. Names The herb is known in Chinese as zǐsū ( "purple perilla"), which is the origin of the Japanese name shiso () and the Vietnamese name . It is also called huíhuísū ( "Muslim perilla") in Chinese. In Korean, it is known as soyeop (). In ancient Japan, it was called inue ("pseudo-perilla"), though this name is no longer used. In English, it is sometimes called the "beefsteak plant", because purple-leaf varieties resemble the blood-red color of meat. Other common names include "perilla mint", "Chinese basil", and "wild basil". The alias "wild coleus" or "summer coleus" probably describe ornamental varieties. Red-leaf varieties are sometimes called "purple mint". In the Ozarks, it is called "rattlesnake weed", because the sound the dried stalks make when disturbed along a footpath is similar to a rattlesnake's rattle. The Japanese name shiso became part of the English lexicon in the 1990s, owing to the growing popularity of sushi. The plant is sometimes referred to by its genus name, Perilla, but this is ambiguous as perilla could also refer to a different cultigen (Perilla frutescens var. frutescens). To avoid confusion, Perilla frutescens var. frutescens is called egoma ("perilla sesame") in Japan and deulkkae ("wild sesame") in Korea. When red-leaf shiso was introduced into the West in the 1850s, it was given the scientific name Perilla nankinensis, after the city of Nanking. This name is now less common than Perilla frutescens. Origins and distribution It is suggested that the native origins of the plant are mountainous regions of India and China, although other sources point to Southeast Asia. History Perilla frutescens was cultivated in ancient China. One of the early mentions comes from the Supplementary Records of Renowned Physicians ( Míng Yī Bié Lù), written around 500 AD, where it is listed as su (), and some of its uses are described. The plant was introduced into Japan around the eighth to ninth centuries. Red shiso became available to gardening enthusiasts in England around 1855. By 1862, the English were reporting overuse of this plant, and proposing Coleus vershaeffeltii or Amaranthus melancholicus var. ruber made available by J.G. Veitch as an alternative. It was introduced later in the United States, perhaps in the 1860s. Today, it is considered a weed or invasive species. Description Shiso grows to tall. It has broad ovate leaves with pointy ends and serrated margins, arranged oppositely with long leafstalks. Shiso seeds are about 1mm in size, and are smaller and harder compared to other perilla varieties. Seeds weigh about 1.5 g per 1000 seeds. The plants are not frost hardy. In USDA zones 11 and above, they grow as perennials. Varieties Several forms of shiso exist. They are defined by the color and morphology of the leaves, though coloring is also found on the stalk and flower buds. Redness in shiso is caused by shisonin, an anthocyanin pigment found in perilla. Ruffled red shiso was the first form examined by Western botanists, and Carl Peter Thunberg named it P. crispa (meaning "wavy" or "curly"). That Latin name crispa was later retained when shiso was reclassified as a cultigen. Red shiso (f. purpurea) Leaves red on both sides, flat surface. Often called simply "shiso". Ruffled red shiso (f. crispa) Leaves red on both sides, ruffled surface. Green shiso (f. viridis) Leaves green on both sides, flat surface. Ruffled green shiso (f. viridi-crispa) Leaves green on both sides, ruffled surface. Cultivar. Bicolor shiso (f. discolor) Leaves green on top side, red on back side, flat surface. Cultivar. Variegated shiso (f. rosea) Leaves a mix of green and red on both sides, flat surface. Culinary use Cultivated shiso is eaten in many East Asian and Southeast Asian countries. Wild, weedy shiso are not suitable for eating, as they do not have the characteristic shiso fragrance, and are high in perilla ketone, which is potentially toxic. East Asia Japan Shiso (紫蘇) is extensively used in Japanese cuisine. Red, green, and bicolor varieties are used for different purposes. Red shiso is called akajiso (赤紫蘇). It is used in the making of umeboshi (pickled plums) to give the plums a red color. The leaves turns bright red when steeped in umezu, the vinegary brine that results as a byproduct of pickling plums. It can also be combined with umezu to make certain types of sushi. In the summer, it is used to make a sweet, red juice. In Kyoto, red shiso and its seeds are used to make shibazuke, a type of fermented eggplant. Red leaves are dried and pulverized into flakes, then mixed with salt to make a seasoning called yukari. The word yukari is an ancient term for the color purple, and was first used by Mishima Foods Co. to describe their shiso product, though the word is now used to refer to shiso salt in general. Red shiso leaf flakes are a common ingredient in furikake seasonings, meant to be sprinkled over rice or mixed into onigiri (rice balls). Green shiso is called aojiso (青紫蘇) or ōba (大葉 "big leaf"). It is used to garnish noodle dishes like hiyamugi or sōmen, meat dishes like sashimi, tataki and namerō, and tofu dishes like hiyayakko. Whitebait (shirasu) sashimi is often garnished with green shiso. Whole leaves are also used as receptacles to hold wasabi, or tsuma (garnishes). Leaves can also be battered on one side and fried to make tempura, and are served with other fried items. Chopped leaves are used to flavor any number of fillings or batter to be cooked, for use in warm dishes. In Japan, pasta is sometimes topped with dried or freshly chopped shiso leaves, which is often combined with raw tarako (pollock roe). Originally, green shiso was used in place of basil, and has even been used in pizza toppings. In the summer of 2009, Pepsi Japan released a seasonal flavored beverage, the green colored Pepsi Shiso. Shiso seed pods (fruits) are called shiso no mi, and are salted and preserved like a spice. They can be combined with fine slivers of daikon (radish) to make a simple salad. Oil pressed from the seeds was once used for deep-frying. Shiso sprouts, buds and cotyledons are all called mejiso (芽紫蘇), and used as garnish. Red sprouts are called murame, and green sprouts are called aome. Although not often served in restaurants, mejiso are used as microgreens. Shiso flowers are called hojiso (穂紫蘇), and used as garnish for sashimi. They are intended to be scraped off the stalk with chopsticks, and added as flavoring to the soy sauce dip. The flowers can also be pickled. Korea In Korea, shiso is called soyeop () or chajogi (). It is less popular than the related cultigen, P. frutescens (deulkkae). Soyeop is commonly seen as a wild plant, and the leaves are occasionally used as a ssam vegetable. Red leaves are sometimes pickled in soy sauce or soybean paste as a jangajji, or deep-fried as bugak with a thin coat of rice-flour batter. China Chinese cuisine also utilizes shiso, named zi su (紫苏), bai su (白苏), or huihui su (回回苏) in Chinese. It is sometimes used as a decorative ingredient, and is sometimes eaten to reduce grease (as with barbecue). It is common practice to accompany fish and crab dishes with zisu, as it is believed that zisu leaves can offset the toxins in seafood. Southeast Asia Laos In Laos, red shiso leaves are called pak maengda (ຜັກແມງດາ). They are used to add fragrance to khao poon (ເຂົ້າປຸ້ນ), a rice vermicelli dish that is similar to the Vietnamese bún. Vietnam In Vietnam, shiso is called tía tô. Compared to Japanese shiso, it has slightly smaller leaves but a much stronger aromatic flavor. Vietnamese tía tô are often bicolored, with leaves that are red on the backside. Tía tô leaves are used in Vietnamese cuisine for salads, soups, or stir-fried dishes. The strong flavors are perfect for cooking seafoods such as shrimp and fish dishes. They are eaten as a garnish with (rice vermicelli). Leaves are also pickled. Biochemistry Shiso's distinctive flavor comes from perillaldehyde, which is found only in low concentrations in other perilla varieties, including Perilla frutescens. The oxime of perillaldehyde, perillartine, is about 2,000 times sweeter than sucrose. However, perillartine has a bitter aftertaste and is not soluble in water, and is only used in Japan as an artificial sweetener to sweeten tobacco. Wild shiso is rich in perilla ketone, which is a potent lung toxin to some livestock. When consumed by cattle and horses, it causes pulmonary edema, leading to a condition sometimes called perilla mint toxicosis. Effects on humans remain to be studied. The plant produces the natural product perilloxin, which is built around a 3-benzoxepin moiety. Like aspirin, perilloxin inhibits the enzyme cyclooxygenase with an IC50 of 23.2 μM. Other chemotypes include eschscholzia ketone, perillene, and the phenylpropanoids myristicin, dillapiole, elemicin, citral, and a type rich in rosefuran. Shiso contains only about 25.2–25.7% lipid, but still contains a comparable 60% ratio of ALA. Aromatic essential oils present are limonene, caryophyllene, and farnesene. Bactericidal and preservative effects of shiso, due to the presence of terpenes such as perilla alcohol, have been noted. Cultivation In temperate climates, the plant is self-sowing, but the seeds are not viable after long storage, and germination rates are low after a year. Japan The bar graph shows the trend in total production of shiso in Japan, as given by the Ministry of Agriculture, Forestry and Fisheries The biggest producer of shiso for the food market is Aichi Prefecture, boasting 3,852 tons, or 37.0% of national production (2008 data). Data for greenhouse production, which is a better indicator of crop yield, gives 3,528 tons for Aichi Prefecture, or 56% share of national production. The difference in percentage is an indicator that in Aichi, the leaves are 90% greenhouse produced, whereas nationwide the ratio is 60:40 in favor of indoors over open fields. In Aichi Prefecture, the city of Toyohashi produces the most shiso in Japan. They are followed in ranking by Namegata, Ibaraki. There seems to be a growth spurt for shiso crops grown for industrial use. The data shows the following trend for crops targeted for oil and perfumery. History Green shiso was not industrially grown until the 1960s. Production volume remained negligible until 1976. Several accounts exist regarding the beginnings of shiso production. According to one anecdote, in 1961, a food co-operative from Shizuoka specializing in tsuma (garnishes) began shipping green shiso to the Osaka market, where it grew so popular the name ōba (大葉 "big leaf") became the trade name for bunches of picked green leaves. Another account places the start of green shiso production origin in the city of Toyohashi, the foremost ōba producer in the country. It claims that the Toyohashi Greenhouse Horticultural Agricultural Cooperative experimented with planting green shiso around 1955, and started merchandising the leaves as ōba around 1962. In 1963 they organized "cooperative sorting and sales" of the crop, and achieved year-round production around 1970. In the 1970s refrigerated storage and transport became available, bringing fresh produce and seafood to areas away from farms or seaports. Foods like sashimi became daily fare, and so too did sashimi garnishes like green shiso. The word ōba was originally a trade name and was not listed in the popular dictionary Shin Meikai Kokugo Jiten as "green shiso" until its 5th edition (1997). See also Tantakatan References Notes Works cited (Herb books) (Cookbooks) (Nutrition and chemistry) , pp. 26–7 (Japanese dictionaries) (Japanese misc. sites) : right navbar "9 農業(野菜)" (Ministry statistics) . It gives to ink to H12 (FY2000), H14 (FY2002), H16 (FY2004), H18 (FY2006), H20 (FY2008) figures. They are not direct links to Excel sheets, but jump to TOC pages at e-stat.go.jp site. The latest available is TOC for The FY2008(年次) Regional Specialty Vegetable Production Status Study, published 11/26/2010. Under Category 3-1 Vegetables by crop and prefecture: acreage, harvest yield, etc. (野菜の品目別、都道府県別生産状況 作物面積収穫量等), find 10th crop shiso (しそ), and click Excel button to open p008-20-014.xls. Under Category 3–2, you can also retrieve Vegetable by crop and prefecture: major cutivars at major-producing municipalities (野菜の品目別、都道府県別生産状況 主要品種主要市町村 ). . for data (h001-21-071.xls). . Links to H14 (FY2000) - H19 (FY2007) biannual figures, not direct link to Excel but jump to TOC pages at e-stat.go.jp site. The latest available is TOC for The FY2007(年次) Specialty Vegetable Production Realized Study, published 3/23/2010. Locate 1-1-10 is Shiso (しそ), where heading reads " Industrial crop sown acreage and production" (工芸作物の作付面積及び生産量, and click Excel button to open p003-19-010.xls. pdf (in Japanese except abstract) Herbs Japanese condiments Vietnamese cuisine Lamiaceae
The Fyrish Monument is a monument built in 1782 on Fyrish Hill (), in Fyrish in Evanton, near Alness, Easter Ross, Scotland, on the orders of Sir Hector Munro, 8th of Novar, a native lord of the area who had served in India as a general. As the local population were being cleared off the land they had worked for centuries by the Lords of the Land, survival was a problem and so it was built to keep the locals in labour. It was said that Sir Hector rolled stones from the top of the hill to the bottom, thereby extending the amount of time worked and paying the labourers for additional hours. It represents the Gate of Negapatam, a port in Madras, India, which General Munro took for the British in 1781. It is visible from almost anywhere in the parishes of Kiltearn and Alness. The site of the monument provides an extensive view over the Cromarty Firth and beyond, and Ben Wyvis can be seen clearly, especially impressive if snow-covered. A path to the top starts at a car park northeast of the hill at OS grid NH627715. References Sources https://web.archive.org/web/20061002181022/http://www.clanmunro.org.uk/merchandise_files/maps.htm Touring Guide Scotland, p. 151. External links Map from Streetmap.co.uk Route to the monument from Walkhighlands 3d model representing the monument Buildings and structures in Highland (council area) Monuments and memorials in Scotland Ross and Cromarty Tourist attractions in Highland (council area) Category B listed buildings in Highland (council area) Folly buildings in Scotland
The United States U-15 boys national soccer team represents the United States in tournaments and friendly matches at the under-15 level. They have appeared in two CONCACAF Boys' Under-15 Championships, in 2017 and 2019. Competitive record Champions   Runners-up   Third place   Fourth place CONCACAF Boys' Under-15 Championship Results and schedule The following is a list of match results in the last 12 months, as well as any future matches that have been scheduled. Legend Players Current squad 24 players were called up for the 2023 October Camp in California. Caps and goals are current as of August 13, 2023, after match against . Recent call-ups The following players were called up in the past 12 months. 2023 CONCACAF Boys' Under-15 Championship; August 2023 2023 Pinatar U-15 Supercup 2023 California Training Camp; March 2023 2023 Tampa Training Camp; January 2023 Head coaches This list may be incomplete. Tony Lepore (2011–2013) Hugo Pérez (2013–2014) John Hackworth (2014–2015) Dave van den Bergh (2016–2018) Clint Peay (2018–2019) Gonzalo Segares (2020–2021) Tom Heinemann (2022−present) References External links U-15 Boys' National Team North American national under-15 association football teams Youth soccer in the United States Soc U15 U15
Lamprias (Greek: Λαμπρίας) was the grandfather of the Greek biographer and philosoper Plutarch. He appears as a character in several of Plutarch's works, notably the "Table Talks" He's also mentioned in Plutarch's Life of Antony as a friend of Philotas, one of Mark Antony's court physicians and a witness for some of the stories Plutarch relates about Antony and Cleopatra. Elsewhere Plutarch quotes him making ironic observations about Jewish dietary laws. According to Plutarch, Lamprias was a man of eloquence and imagination. Very little is known of his life apart from what can be gleaned from Plutarch's writing. although he probably lived in Chaeronea of Boeotia, in Central Greece. References External links Dictionary of Greek and Roman Biography and Mythology v. 2, page 715 1st-century Greek people Ancient Boeotians
Zinna is a genus of moths of the family Erebidae. The genus was erected by Francis Walker in 1869. The Global Lepidoptera Names Index gives this name as a synonym of Ugia Walker, 1858. Species Zinna nigripalpis Walker, 1869 Zinna prompta (Walker, 1869) References Calpinae
C.H.Sekar is an Indian politician and was a member of the Fourteenth Tamil Nadu Legislative Assembly representing Gummidipundi Constituency from 2011. Background Sekar was born in 1979. He is an entrepreneur and has various businesses. He holds a degree in mechanical engineering. Political career He represented Gummidipoondi assembly constituency as a Vijayakant’s DMDK Party candidate in the 2011 TN Legislative Assembly. He left DMDK and joined the Dravida Munnetra Kazhagam and was appointed the Deputy Secretary of the Party’s IT Wing. Electoral performance Achievements At that time of elections, Sekar promised to get a bus depot to connect the rural areas, a sports stadium to promote sports among youth and to make Periyapalayam temple a tourist centre. Within two years, he obtained the approval from the Government for the same. References 1979 births Living people Indian politicians
Nanling Township () is a township in Lancang Lahu Autonomous County, Yunnan, China. As of the 2017 census it had a population of 24,059 and an area of . Administrative division As of 2016, the township is divided into eight villages: Huanghui () Mangnong () Mengbing () Xiananxian () Qianzhe () Mangfu () Mengkan () Mali () History In 1940, it belonged to the 4th District and then the Daling Township (). After the founding of the Communist State in 1949, Nanling District () was set up. During the Great Leap Forward, its name was changed to Wensheng Commune () in 1969 and then Nanling Commune () in 1971. It was incorporated as a township in 1988. Geography It lies at the central of Lancang Lahu Autonomous County, bordering Zhutang Township to the west, Menglang Town to the southwest, Nuozhadu Town to the south, Fubang Township and Donghe Township to the north, and Qianliu Yi Ethnic Township to the east. There are major four rivers and streams in the township, namely the Mangnong River (), Qianzhe River (), Mengkan River (), and the Black River (). Economy The economy is supported primarily by farming, ranching and forestry. Economic crops are mainly peanut, tea, fruit, and bean. Demographics As of 2017, the National Bureau of Statistics of China estimates the township's population now to be 24,059. References Bibliography Townships of Pu'er City Divisions of Lancang Lahu Autonomous County
Ivan Tásler (born 16 July 1979 in Prešov, Czechoslovakia) is a Slovak singer, guitarist, composer, and producer. His career is closely connected with the band IMT Smile. The history of IMT Smile started in 1992 when it was founded by brothers Ivan and Miro Táslers whose initial letters have given the name to the band. Later, the band has changed the name several times (Epitath, Ruka) and finally, in 1995, it was renamed to IMT Smile again. In that time, nine musicians were a part of the group. In 1997, the first album was released. "Klik-klak" had a great success in Slovak charts, the song "Nepoznám" became a number one in a very short time. In 1998, the new album, "Valec", came out and IMT Smile became a band of the year. Other albums (Nech sa páči, IMT Smile, Exotica, Diamant) were successful as well. The newest album (2006) is called Niečo s nami je. Over last few years, several reputable musicians have been members of the group; Oskar Rózsa, Katarína Knechtová, Marcel Buntaj, Martin Valihora. Ivan Tásler has cooperated also with other well-known Slovak artists, such as Jana Kirschner, Marián Čekovský, Richard Müller, Zuzana Smatanová etc. In 2002, Tásler's solo album was released. The album was called simply "Tásler" and contained several hits. In 2006 he produced the album "Karaván šou" which is a soundtrack to his travelogue with the same name. In 2006, Ivan Tásler won the prize "The most successful author of music 2005". Discography Studio albums 2001 Tásler 2006 Karaván šou See also The 100 Greatest Slovak Albums of All Time References External links IMT Smile official website Living people Slovak composers Male composers 1979 births Musicians from Prešov 21st-century Slovak male singers Slovak guitarists Slovak record producers 21st-century guitarists 20th-century Slovak male singers Slovak male musicians
Kıbrıslı Mehmed Emin Pasha ("Mehmed Emin Pasha the Cypriot"; 1813–1871) was an Ottoman civil servant and statesman of Turkish Cypriot origin, who served at the top post of Grand Vizier during three different times under the reign of the sultan Abdulmejid I. He was in favor in reforming the Ottoman Empire into a constitutional monarchy. He however died before the first Ottoman constitution came into existence. Career His uncle was in charge of Mahmud II's private treasury, secured him for palace service while he was young, and he then entered the Hassa regiment (1833–1834). He then studied abroad, in France, at the Sultan's expense. He served in a military capacity, as serasker, in Acre (1844–1845), Jerusalem (1845–1847; during which time he suppressed a serious Bedouin revolt), Tirnova (1847), and then Belgrade (1847–1848). During this period, many rumours circulated about his mismanagement practices, but they were dismissed by the Sultan as gossip. He was appointed as a vizier in 1848. In 1850–51, Mehmed Emin served as governor of the Eyalet of Aleppo, at the end of which he was appointed müşir (field marshal), in the province of Syria. His periods of administration were for the first term between 29 May and 23 November 1854, the second term between 18 November 1859 and 24 December 1859, and for the last term between 28 May 1860 and 6 August 1861. As such, he was also the last grand vizier under Abdülmecid. Like many other prominent Ottoman statesmen of the Tanzimat period, Mehmed Emin Pasha rose from the Dragoman's office (), largely Turkified by the 19th century, and climbing through the foreign office of the Ottoman Empire, held consecutive ambassadorial and governorship posts. Mehmed Emin Pasha died in his yalı in Kandilli, Istanbul, in 1871. After his death, his first wife, Melek Hanım, née Marie Dejean (formerly the wife of Julius Michael Millingen), wrote her memoirs of the harem, in the 19th century context of that institution, as well as a controversial account of the high spheres of the Ottoman society, published in London in 1872, treating much the same period as the memoirs of Leyla Saz, written much later in the 1920s. See also List of Ottoman grand viziers References Bibliography Melek Hanim (1872): Thirty years in the harem: or, The autobiography of Melek-Hanum, wife of H.H. Kibrizli-Mehemet-Pasha Pashas 1813 births 1871 deaths Civil servants from the Ottoman Empire Military personnel of the Ottoman Empire 19th-century Grand Viziers of the Ottoman Empire Ambassadors of the Ottoman Empire to the United Kingdom Turks from the Ottoman Empire 19th-century Cypriot people Turkish Cypriot diaspora Seraskers Ottoman governors of Aleppo
Andrea Ossoinack (1876-1965) was a businessman and politician who became notable in the process of creating the Free State of Fiume. Biography Andrea Ossoinack was the son of Luigi Ossoinack, one of the foremost businessmen in Fiume. He studied economics in England, and then spent time at his father's company branch office in London. After initially helping Riccardo Zanella and his Autonomist Association, Ossoinack later founded the Autonomist League (Lega autonoma) with the Hungarian loyalist grouping. In 1916 he was nominated (rather than elected) as the deputy from Fiume in the Hungarian Parliament. On 18 October 1918, at the end of the First World War, Ossoinack claimed the right of self-determination for Fiume in the Hungarian parliament. In this capacity he was also allowed to represent Fiume at the Paris Peace Conference, 1919 on 3 March 1919, being presented as the "last deputy of Fiume at the Hungarian Parliament". Ossoinack was a local entrepreneur with business and political contacts. He financed all the political organisation of Fiume including the autonomists of Maylender and Zanella. He spoke several languages and, having studied economics in London, was fluent in English. Ossoinack came to the Conference with a Memorandum from the CNI expressing views similar to those presented in Budapest. The document begins with the statement that a profoundly unjust political system (the Habsburg Monarchy) founded on the principle of divide et impera had finally broken up, leading to the formation of several new states, including Fiume. It was stated that, "The State of Fiume is a living fact: none can deny it, as none can deny existence of a Hungary or of a Yugoslavia. Fiume exercises all the functions of State; this has been communicated to the governments of Europe and America; it freely develops all the functions of administration". On this basis a sovereign political body, a functioning state, had the right to be annexed to Italy, since this was the will of the majority of the population. Ossoinack met with United States President Woodrow Wilson on 4 April 1919, a day after the meeting of the Council of Four where Wilson resolutely opposed Italian claims to Fiume. Wilson added also new requirements: self-determination in the eastern Adriatic area to produce economically viable outcomes. Ossoinack produced an economic-based argument for the annexation of Fiume to Italy, attempting to show that annexation was the best economic solution for Fiume. Openly he proclaimed that the free port was economically non-viable: he said it could have been made competitive only with lower operating costs. This was not the case; the port of Fiume prospered only because it was generously subsidised by the Hungarian government and this would end if it gained independence. Fiume needed a state prepared to invest in the city economy concerning the port. In his reply to Ossoinack, Wilson proposed that Fiume had to be proclaimed a Free State, as a new solution. When the British delegate Balfour refused the project of annexing Fiume, the Italian delegation of Orlando and Sonnino left the conference in protest on 24 April 1919. References Ossoinack, Andrea. Perché Fiume dev’essere italiana, Fiume, 1919. Ossoinack, Andrea. Perché Fiume deve essere Porto Franco, Fiume, 1922. Further reading 1876 births 1965 deaths Politicians from Rijeka Hungarian politicians
Tehatta II is a community development block that forms an administrative division in Tehatta subdivision of Nadia district in the Indian state of West Bengal. Geography Palashipara, the police station and headquarters of Tehatta II CD Block, is located at . Tehatta II CD Block is bounded by Naoda, CD Block in Murshidabad district, and Karimpur II CD Block, in the north, Tehatta I CD Block in the east, Nakashipara CD Block in the south and Kaliganj CD Block in the west. Palashipara is about 18 km from Plassey, where the historic Battle of Plassey was fought in 1757. Jalangi River flows through region. Nadia district is mostly alluvial plains lying to the east of Hooghly River, locally known as Bhagirathi. The alluvial plains are cut across by such distributaries as Jalangi, Churni and Ichamati. With these rivers getting silted up, floods are a recurring feature. Tehatta II CD Block has an area of 172.47 km2. It has 1 panchayat samity, 7 gram panchayats, 112 gram sansads (village councils), 34 mouzas and 32 inhabited villages. Tehatta police station serves this block. Headquarters of this CD Block is at Palashipara. Gram panchayats of Tehatta II block & panchayat samiti are Barnia, Gopinathpur, Hanspukuria, Palashipara, Polsunda I, Polsunda II and Sahebnagar. Demographics Population As per the 2011 Census of India, Tehatta II CD Block had a total population of 151,231, all of which were rural. There were 77,299 (51%) males and 73,932 (49%) females. The population below 6 years was 17, 071. Scheduled Castes numbered 25,085 (16.59%) and Scheduled Tribes numbered 2,092 (1.38%). As per the 2001 census, Tehatta II block had a total population 134,113, out of which 68,737 were males and 65,376 were females. Tehatta II block registered a population growth of 16.96 per cent during the 1991-2001 decade. Decadal growth for the district was 19.51 per cent. Decadal growth in West Bengal was 17.84 per cent. Large villages (with 4,000+ population) in Tehatta II CD Block were (2011 census figures in brackets): Dhwapara (6,667), Baraia (7,746), Baruipara (8,077), Palsunda (11,791), Bara Naldaha (6,537), Chhoto Naldaha (4,437), Panchdara Abhaynagar (9,803), Barnia (16,350), Hanspukuria (8,023), Natipota (6,860), Palashipara (10,693), Radhanagar (4,345), Gopinathpur (8,910) and Rudranagar (4,694). Other villages in Tehatta II CD Block include (2011 census figures in brackets): Sahebnagar (3,468) and Iswarchandrapur (2,471). Literacy As per the 2011 census, the total number of literates in Tehatta II CD Block was 91,926 (68.52% of the population over 6 years) out of which males numbered 48,752 (70.93% of the male population over 6 years) and females numbered 43,174 (65.99% of the female population over 6 years). The gender disparity (the difference between female and male literacy rates) was 4.94%. See also – List of West Bengal districts ranked by literacy rate Language and religion In the 2011 census, Hindus numbered 75,609 and formed 50.00% of the population in Tehatta II CD Block. Muslims numbered 75,447 and formed 49.89% of the population. Christians numbered 81 and formed 0.05% of the population. Others numbered 94 and formed 0.06% of the population. In the 2001 census, Hindus numbered 220,357 and formed 62.67% of the combined population of Tehatta I and Tehatta II CD Blocks. Muslims numbered 127,045 and formed 36.13% of the combined population. In the 1991 census, Hindus numbered 184,404 and formed 61.30% of the combined population of Tehatta I and Tehatta II CD Blocks. Muslims numbered 112,758 and formed 37.49% of the combined population. Bengali is the predominant language, spoken by 99.71% of the population. Rural poverty The District Human Development Report for Nadia has provided a CD Block-wise data table for Modified Human Vulnerability Index of the district. Tehatta II CD Block registered 29.69 on the MHPI scale. The CD Block-wise mean MHVI was estimated at 33.92. A total of 8 out of the 17 CD Blocks in Nadia district were found to be severely deprived when measured against the CD Block mean MHVI - Karimpur I and Karimpur II (under Tehatta subdivision), Kaliganj, Nakashipara, Chapra, Krishnanagar I and Nabadwip (under Krishnanagar Sadar subdivision) and Santipur (under Ranaghat subdivision) appear to be backward. As per the Human Development Report 2004 for West Bengal, the rural poverty ratio in Nadia district was 28.35%. The estimate was based on Central Sample data of NSS 55th round 1999–2000. Economy Livelihood In Tehatta II CD Block in 2011, amongst the class of total workers, cultivators formed 30.84%, agricultural labourers 43.90%, household industry workers 1.85% and other workers 23.41%. The southern part of Nadia district starting from Krishnanagar I down to Chakdaha and Haringhata has some urban pockets specialising in either manufacturing or service related economic activity and has reflected a comparatively higher concentration of population but the urban population has generally stagnated. Nadia district still has a large chunk of people living in the rural areas. Infrastructure There are 32 inhabited villages in Tehatta II CD Block. 100% villages have power supply and drinking water supply. 14 Villages (43.75%) have post offices. 31 villages (96.88%) have telephones (including landlines, public call offices and mobile phones). 23 villages (71.88%) have a pucca approach road and 19 villages (51.38%) have transport communication (includes bus service, rail facility and navigable waterways). 15 villages (46.88%) have agricultural credit societies and 7 villages (21.88%) have banks. Although 100% villages in Nadia district had power supply in 2011, a survey in 2007-08 revealed that less than 50% of households had electricity connection. In rural areas of the country, the tube well was for many years considered to be the provider of safe drinking water, but with arsenic contamination of ground water claiming public attention it is no longer so. Piped water supply is still a distant dream. In 2007–08, the availability of piped drinking water in Nadia district was as low as 8.6%, well below the state average of around 20%. Agriculture Although the Bargadari Act of 1950 recognised the rights of bargadars to a higher share of crops from the land that they tilled, it was not implemented fully. Large tracts, beyond the prescribed limit of land ceiling, remained with the rich landlords. From 1977 onwards major land reforms took place in West Bengal. Land in excess of land ceiling was acquired and distributed amongst the peasants. Following land reforms land ownership pattern has undergone transformation. In 2013–14, persons engaged in agriculture in Tehatta II CD Block could be classified as follows: bargadars 4.60%, patta (document) holders 14.11%, small farmers (possessing land between 1 and 2 hectares) 9.80%, marginal farmers (possessing land up to 1 hectare) 32.07% and agricultural labourers 39.43%. As the proportion of agricultural labourers is very high, the real wage in the agricultural sector has been a matter of concern. Tehatta II CD Block had 212 fertiliser depots, 5 seed stores and 56 fair price shops in 2013–14. In 2013–14, Tehatta II CD Block produced 5,313 tonnes of Aman paddy, the main winter crop from 2,038 hectares, 8,311 tonnes of Boro paddy (spring crop) from 2,171 hectares, 5,240 tonnes of Aus paddy (summer crop) from 2,652 hectares, 14,997 tonnes of wheat from 3,896 hectares, 161,764 tonnes of jute from 9,792 hectares, 5,466 tonnes of potatoes from 181 hectares and 9,422 tonnes of sugar cane from 94 hectares. It also produced pulses and oilseeds. In 2013–14, the total area irrigated in Tehatta II CD Block was 1,745 hectares, out of which 1,239 hectares were irrigated by river lift irrigation, 422 hectares by deep tube wells and 84 hectares by deep tube well. Banking In 2013–14, Tehatta II CD Block had offices of 2 commercial banks and 4 gramin banks. Transport Tehatta II CD Block has 6 ferry services and 4 originating/ terminating bus routes. The nearest railway station is 18 km from CD Block headquarters. SH 14 originates from Betai in this block and runs to Dubrajpur (in Birbhum district). Education In 2013–14, Tehatta II CD Block had 83 primary schools with 7,307 students, 2 middle schools with 306 students, 3 high school with 2,636 students and 9 higher secondary schools with 16,320 students. Tehatta II CD Block had 2 technical/ professional institutions with 205 students and 224 institutions for special and non-formal education with 11,518 students In Tehatta II CD Block, amongst the 32 inhabited villages, 2 had no school, 24 had more than 1 primary school, 12 had at least 1 primary school, 18 had at least 1 primary and 1 middle school and 12 had at least 1 middle and 1 secondary school. Healthcare In 2014, Tehatta II CD Block had 1 block primary health centre, 2 primary health centres and 3 private nursing homes with total 65 beds and 9 doctors (excluding private bodies). It had 18 family welfare subcentres. 4,232 patients were treated indoor and 280,192 patients were treated outdoor in the hospitals, health centres and subcentres of the CD Block. Palashipara (Pritimoyee) Rural Hospital, with 30 beds at Palashipara, is the major government medical facility in the Tehatta II CD block. There are primary health centres at Barnia (with 10 beds) and Chhota Nalda (with 6 beds). Tehatta II CD Block is one of the areas of Nadia district where ground water is affected by high level of arsenic contamination. The WHO guideline for arsenic in drinking water is 10 mg/ litre, and the Indian Standard value is 50 mg/ litre. All the 17 blocks of Nadia district have arsenic contamination above this level. The maximum concentration in Tehatta II CD Block is 950 mg/litre. Culture Attractions in the area are – Sonargouranga temple (with the golden statue of Chaitanya Mahaprabhu), Chandroday temple and a church. A famous and oldest indigo Kuthi is situated near 3 km at Nishcintapur in demolished form. References Community development blocks in Nadia district
The following is a list of the municipalities (comuni) of Molise, Italy. There are 136 municipalities in Molise (as of January 2019): 84 in the Province of Campobasso 52 in the Province of Isernia List References Istituto Nazionale di Statistica Geography of Molise Molise
Inclined Temple is a remote 7,150-foot (2,180 meter) elevation summit located in Zion National Park, in Washington County of southwest Utah, United States. Description Inclined Temple, a mesa-like formation composed of Navajo Sandstone, is situated north of Springdale, Utah. Its nearest neighbor is Ivins Mountain, one half mile to the north, and South Guardian Angel is set approximately three miles to the west-northwest. Its name was officially adopted in 1935 by the U.S. Board on Geographic Names. This geographical feature is so named because its broad top has a decided incline. Precipitation runoff from this mountain drains into North Creek, a tributary of the Virgin River. Climate Spring and fall are the most favorable seasons to visit Inclined Temple. According to the Köppen climate classification system, it is located in a Cold semi-arid climate zone, which is defined by the coldest month having an average mean temperature below 32 °F (0 °C), and at least 50% of the total annual precipitation being received during the spring and summer. This desert climate receives less than of annual rainfall, and snowfall is generally light during the winter. See also Geology of the Zion and Kolob canyons area Colorado Plateau Gallery References External links Zion National Park National Park Service Inclined Temple: Weather forecast Mountains of Utah Zion National Park Mountains of Washington County, Utah Sandstone formations of the United States Landforms of Washington County, Utah Buttes of Utah North American 2000 m summits
Manny Alexander Rodríguez Baldera (born 23 May 1998) is a Dominican footballer who plays as a defender for Spanish Primera División RFEF club SD Logroñés and the Dominican Republic national team. Early life Born in Santiago de los Caballeros, Rodríguez moved with his family to Spain when he was 8. There, his family has settled in Madrid, near Vicente Calderón Stadium. Club career Rodríguez began his football career at 15. He started playing for the youth teams of AV La Chimenea and ED Moratalaz, before joining Atlético Madrid youth ranks in 2015. International career Rodríguez first represented the Dominican Republic at under-20 level. He made his senior international debut in 2021. References 1998 births Living people Sportspeople from Santiago de los Caballeros Dominican Republic men's footballers Men's association football defenders Dominican Republic men's international footballers Dominican Republic emigrants to Spain Naturalised citizens of Spain Footballers from Madrid Spanish men's footballers Atlético Madrid B players RC Celta Fortuna players Hércules CF players CF Rayo Majadahonda players Segunda División B players
Phalacra perspicaria is a moth in the family Drepanidae. It was described by Johan Christian Fabricius in 1798. It is found in India. The protologue (species description) of Phalaena perspicaria by Fabricius is in Entomologia systematica emandata et aucta. Supplementum Entomologiae Systematicae 1798; page 449, where it says (in Latin): At the Global Lepidoptera Names Index, P. perspicaria is suspected to be a senior synonym of Phalacra vidhisaria Walker; in that case the name perspicaria is older and has a preference. The type location is the town of Tharangambadi on the Coromandel Coast of Tamil Nadu, India. References Moths described in 1798 Drepaninae Moths of Asia Taxa named by Johan Christian Fabricius
(born 20 May 1977 in Ōshū, Iwate Prefecture) is a Japanese former rugby union player who played as wing. Career Hojo started to play rugby union for Nihon University rugby union team until 2000, when he graduated. A year later, he joined Suntory Sungoliath, where played until 2010, with which he won the All-Japan Rugby Football Championship in 2000, after a draw with Kobe Steel. He was also part of an independent Suntory team which defeated Wales in 2001. In 2003, he was called up by the national coach Shogo Mukai for the Japan squad for the 2003 Rugby World Cup. However, he did not play at the tournament. He retired from rugby in 2011. References External links Junichi Hojo profile at JRFU Junichi Hojo Top League statistics 1977 births Nihon University alumni Japanese rugby union players Sportspeople from Iwate Prefecture Tokyo Sungoliath players Japan international rugby union players Rugby union wings Living people 2003 Rugby World Cup players
Test Shot Starfish is an American electronic music production duo formed in 1999 by Kyle Schember and Ryan Stuit. History The duo met on the film set for Forever Fabulous in Los Angeles in the late 90s. Their first EP was released in 2003 and a self titled full length album in 2005. Their name refers to the Starfish Prime nuclear test from 1962, the largest nuclear detonation in space. Music style Test Shot Starfish "is the sound of space, if it had one – at least in this parsec". For example, their song "LC-39A" is inspired by the launch pad of the same name which launched Apollo, Space Shuttle, and Falcon Heavy. Another example is on "Sputnik" which was named after the first artificial satellite. The song contained samples of news clips and the audio from the satellite itself. Their music is also commonly used in SpaceX's YouTube livestreams of rocket launches. Discography Studio albums Test Shot Starfish (2005) Music for Space (2018) Music for Space Sleep (2020) Earth Analog (2022) Extended plays Test Shot Starfish EP (2003) Singles Mars (2019) Cities in Flight (2019) The New Astronauts (2020) Crew (2020) Moon (featuring Everyday Astronaut) (2021) References External links Test Shot Starfish official site Test Shot Starfish discography on MusicBrainz Test Shot Starfish SoundCloud Electronic music duos Musical groups established in 1999 Musical groups from Los Angeles 1999 establishments in California
Onion (May 23, 1969 – October 24, 1995) was a U.S. thoroughbred whose victory over Secretariat in the 1973 Whitney Handicap is considered to be among the most dramatic upsets in the history of horse racing. Background Onion was a chestnut gelding bred and owned by Hobeau Farm, based outside of Ocala, Florida, and was trained by Allen Jerkens. He was sired by Third Martini, who was trained by Jerkens to win several stakes races including the Knickerbocker Handicap in 1964. Racing career Onion was initially not considered a top-tier horse and the early part of his career was focused on lower grade non-stakes races. On July 24, 1973, Onion achieved his first claim to notability by breaking the Saratoga Race Course track record for a six-furlong race. Jerkens entered Onion in the Whitney Handicap, which was receiving added attention because of the presence of Secretariat, the winner of the Triple Crown, in his first race against older horses. Jerkens had noted that Secretariat's pre-race workout was flat and surmised the champion thoroughbred was not performing at his best. The Whitney was held on August 4, 1973, at Saratoga in front of a record crowd of 30,119. Secretariat was the 1:10 favorite, with Onion a 5:1 second choice among bettors. Three other horses participated in the race. When the race began, Jacinto Vásquez, Onion's jockey, took the early lead and never relinquished control. Secretariat raced in third before moving up on the inside rail to join Onion exiting the final turn. Onion however, held off the challenge of the younger horse and pulled ahead in the final strides to win by a length. After the race, Secretariat's jockey Ron Turcotte and trainer Lucien Laurin debated the unexpected upset, with Laurin publicly questioning Turcotte's handling of the race. Penny Tweedy, Secretariat's owner, later claimed the horse was running a low-grade fever on the racing day, but agreed to keep him in the race because she felt he could triumph over the field. Vasquez told an interviewer: "I probably caught him on a bad day. Onion wasn't the same caliber. It's just that he loved Saratoga and had a good day." Onion and Secretariat met for a second and final time on September 15, 1973, for the inaugural running of the $250,000 Marlboro Cup Invitational Handicap at Belmont Park. Secretariat had returned to full health by this time and won the race while setting a new world record of 1:45 2/5 for 1⅛ miles; Onion finished in fourth place. Later career and retirement Onion never won another stakes race, and his post-Whitney career was undistinguished and troubled with injuries. Before his retirement in 1977, he was running in low-grade claiming races. Onion was retired to Hobeau Farms and died on October 24, 1995. References External links Onion's pedigree Video of the 1973 Whitney Handicap 1969 racehorse births 1995 racehorse deaths Thoroughbred family 13-c Racehorses bred in Florida Racehorses trained in the United States
Atsipades (Greek: Ατσιπάδες,) is an archaeological site of a Minoan peak sanctuary in western Crete. It is an open-air peak sanctuary, situated on a mountain and open to the elements. It was discovered by K. Nowicki in 1985. Location Atsipades (Greek: Ατσιπάδες,) is an archaeological site of a Minoan peak sanctuary in western Crete, located on the top of the mountain. The peak has its own specific name, Atsipades Korakias. It is an open-air peak sanctuary, situated on a mountain and open to the elements. The sanctuary isn't closed off or part of any structure with a cover or roof. The location of the sanctuary, and more specifically the view, play a significant role in the experience of those who made the journey to the top. From the top of the sanctuary, the view showed the surrounding Minoan settlements. Atsipades Korakias Atsipades Korakias is characterized by twin peaks. The autumn equinox at Astipades can be seen between the peaks. This geographical feature directly relates to the relationship between the rising sun and Minoan buildings. Votives, such as animal figurines, human figurines, and bowls, are often found in rock clefts at Astipades. Upper and lower terrace The votives were found in two distinct areas: the upper terrace in the west and the lower terrace in the east. Upper: The sanctuary makes up the east edge of the upper terrace. On the highest point of the mountain, there is a void circle found amongst a high concentration of pebbles. It is supposed that a baetyl or vessel was originally there which created this void when pebbles were placed or thrown there. The pebbles came from a neighboring river in the valley where the people collected the pebbles and brought them up the mountain to be used for this purpose. This location is also characterised by a cliff. The upper terrace had a good view of the surrounding area but the peak blocked the view of the closest settlements. The rock clefts that are below the drop from the upper terrace play a significant role in the sanctuary, more specifically the votive offerings and rituals that occurred. Sixty percent of the votive offerings at this sanctuary were found in the clefts. From this, the archeologist Alan Peatfield was able to categorize it as the main location where votive offerings occurred at Atsipades, and thus a main part of the ritualistic practices that occurred at the sanctuary. Lower: The lower terrace is a flat open area with a better view of the closest settlements to Atsipades than the upper terrace. The sanctuary makes up a large portion of this terrace. Similarly to the upper terrace, votives and other pottery were found in the rock clefts of this terrace during excavation. History Atsipades is located above the village Atsipades, Agios Vasilios. It was discovered by K. Nowicki in 1985. In 1986 it was classified as a peak sanctuary and in 1989, it was excavated by Alan Peatfield. The sanctuary was used by Minoans during a time period of around 2300 B.C.E. to 1700 B.C.E. This span of time can be categorized into three specific time periods: Early Minoan III, Middle Minoan I, and Middle Minoan II. Peatfield was able to discover this via the materials that he discovered in the sanctuary during his excavation. The Early Minaoan III period starts at around 2300 B.C.E. The Middle Minoan I period goes from around 2000 B.C.E. to 1800 B.C.E. The final period, Middle Minoan II, took place around 1700 B.C.E. Materials such as cups, votives, and other pottery were found from all of these periods, yet most votives and pottery were found from the Middle Minoan II period. This finding led Peatfield and other archaeologists to conclude that the Minoans used the sanctuary to a greater extent in that period than in any of the other periods. There is no evidence that the sanctuary was used after the Middle Minoan II period. Although the site is described as a Minoan peak sanctuary, final Neolithic pottery was found in cracks in the rock on the lowermost of the two terraces. The fact that the sanctuary was actively used during this wide range of time shows that the idea of the Minoan Peak sanctuary was an integral part of society and lasted for a great deal of time. Religion Atsipades was used for ancient Minoan religious rites. The sanctuary belonged to the entire community, who were free to use it to serve their religious needs. Peak sanctuaries commonly were located at a high peak, since the experience of climbing close to the sky near dangerous cliff edges contributed to the religious experience and symbolically brought the individual closer to the gods. The ritualistic experience of climbing up the mountain holding a votive or pebble played a major role in the religious aspect of the peak sanctuary. Offerings, such as the votives of pebbles, were given to the gods as a way to gain their favor or goodwill. As many people from the community used the peak sanctuary, visiting the peak sanctuary became a social experience where people would be able to show their piety and their wealth through the votives and offerings that they deposited. Votives Around 5,000 terracotta votive fragments, either animal or human-like figurines, were found at Astipades. The human figurines were primarily male, while the animal figurines were mostly cattle. The male human figurines had variations in hair, and clothing, while some had weapons. The female figurines also varied, with many having skirts or long dresses with open bodices and headgear. These votives align with the common style, customs of attire, and hairstyles of Minoans at that time. These votives reveal a multitude of information about the community that used them. The clay material corroborates the idea that it was used primarily by the common people rather than the aristocracy. The figurines were made with a cheap and coarse clay, and were decorated plainly. A more exclusive sanctuary that was primarily used by elites would have votives made of a higher quality clay, often with painted embellishments to display wealth. Research into the settlements around the sanctuary shows that they were consistent with a poorer and rural community. The settlements were small, and consisted of farmsteads and hamlets with no large towns or aristocratic villas. The votives also demonstrate the purposes of the sanctuaries. The clay figurines, which included animals, anthropomorphic forms and votive limbs, corroborates the idea that this sanctuary's purpose was healing. The worshipers deposited the human figures which were symbolic of themselves at the sanctuary. The votive limbs specifically reflected gratitude for the healing through a performative aspect of prayer. At other Minoan peak sanctuaries, votive limbs and human figures are used by similar healing cults. Settlements found by an archaeological field survey in the nearby Ayios Vasilios Valley suggest that this peak sanctuary served a rural community of farmsteads and hamlets. The domestic or farm animal votives further serve to emphasize the agricultural needs prioritized by those that used the sanctuary. Cattle votives were the most prominent animal votive found, showing the economic dominance of cattle-breeding in that area. The significance of cattle economically is further corroborated by records from travelers. Purposes and functions People primarily used the sanctuary by climbing the mountain carrying pebbles and votives to deposit at the sanctuary as a form of offering. The use of pebbles shows that this was a rural nature cult, as the offerings the people gave to the gods reflected their needs and status. It would appear that the worshippers at Astipades were from the local area, as regional materials and style preferences differ at other sanctuaries. The quality of votive materials and the information we know about the community reflect that the sanctuary was used by the peasant class. The fact that the votives offered were of animals and humans shows the peasant class' focus on daily and personal concerns. The peasants' ritualistic practice of depositing pebbles and votives served the purpose of increasing the fertility both of the earth (for agriculture) and the domesticated animals. It also catered to the health concerns of the community. The clay figurines, which include animals, anthropomorphic forms, and votive limbs, corroborates the idea that this sanctuary's purpose was healing. The animal votives were mostly of cattle which shows their value to the society that used the sanctuary. Cattle were incredibly important to the peasant community which relied on them economically. Excavations of Astipades found no evidence that the site was used for burning ritual fires or the cooking of ritual meals, as there was no ash or burned materials. Other findings During the excavation, 2,500 ceramic fragments were discovered in the sanctuary. These fragments included tripods, blades, bowls, weaving weights, and other offerings. The excavators found jugs, cups, bridge-spouted jars, and vessels which showed that libations occurred on the upper terrace. Large dishes and bowls demonstrated that food offerings also occurred. References Sources Populated places in Rethymno (regional unit) Agios Vasileios, Rethymno Peak sanctuaries
Langan is a surname. Notable people with the surname include: Bill Langan (1955–2010), American yacht designer and naval architect Christopher Michael Langan (born 1952), American known for high IQ Dave Langan (born 1957), Irish footballer Ezequiel Fernández Langan (born 1978), Argentine politician Gary Langan (born 1956), English audio engineer and record producer Glenn Langan (1917–1991), American actor, married to actress Adele Jergens Joy Langan (1943–2009), member of the Canadian House of Commons Patrick A. Langan, American criminologist and statistician Peter Langan (1941–1988), Irish restaurateur Sarah Langan (born 1974), American horror author Sean Langan (born 1964), British journalist and documentary filmmaker Tom Langan, American television producer and writer Tommy Langan (1921–1974), Irish Gaelic footballer
```c++ /* * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following disclaimer * in the documentation and/or other materials provided with the * distribution. * * Neither the name of Google Inc. nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "core/svg/SVGAnimatedLength.h" #include "core/svg/SVGElement.h" namespace blink { void SVGAnimatedLength::setDefaultValueAsString(const String& value) { baseValue()->setValueAsString(value, ASSERT_NO_EXCEPTION); } void SVGAnimatedLength::setBaseValueAsString(const String& value, SVGParsingError& parseError) { TrackExceptionState es; baseValue()->setValueAsString(value, es); if (es.hadException()) { parseError = ParsingAttributeFailedError; baseValue()->newValueSpecifiedUnits(LengthTypeNumber, 0); } else if (m_negativeValuesMode == ForbidNegativeLengths && baseValue()->valueInSpecifiedUnits() < 0) { parseError = NegativeValueForbiddenError; } } } ```
A list of films produced in the Soviet Union between 1970 and 1979: 1970s Soviet films of 1970 Soviet films of 1971 Soviet films of 1972 Soviet films of 1973 Soviet films of 1974 Soviet films of 1975 Soviet films of 1976 Soviet films of 1977 Soviet films of 1978 Soviet films of 1979 Soviet Films
The Hackney Scout Song Book contains a collection of songs which were popular in the early days of the Scout Movement in the United Kingdom. Although originally intended for the use of Scouts in the Hackney district of East London, it quickly became the standard work of its type in the UK and around the world. First printed in December 1921, the last edition was published in 1972. The book has its origin in a series of indoor "campfire" gatherings for Hackney Scouts organised by Stanly Ince, a local Scout Commissioner, who had been paralyzed by polio following his service in World War I. Guests to these meetings included Robert Baden-Powell, the founder of Scouting. Lacking "a common fund of song", Ince founded a "Song Book Committee" and in December 1921, the first edition of the new song book was printed. It was a soft-covered pocket-sized book in the traditional Songster format and included a mix of folk and popular songs, together with some hymns and items composed specifically for Scouts. The "National Anthem of the Ancient Britons" and "Michael Finnagen" appeared in print for the first time in its pages. The book was "dedicated to the undying memory of those Hackney Scouts who died in the service of their country 1914 – 1918". Originally intended only for Hackney Scouts, the first edition sold out within a few months. It remained in print for more than 50 years, sold over 130,000 copies and was translated into 27 languages. References Further reading Scouting 1921 children's books Song books
Platypelis tetra is a species of frog in the family Microhylidae. It is endemic to Madagascar. Its natural habitats are subtropical or tropical moist lowland forests, subtropical or tropical moist montane forests, and heavily degraded former forest. It is threatened by habitat loss. Sources Platypelis Endemic frogs of Madagascar Taxonomy articles created by Polbot Amphibians described in 2003 Taxobox binomials not recognized by IUCN
Anne Morrison Piehl (born November 13, 1964) is an American economist and criminologist. She is a professor of economics at Rutgers University, the director of Rutgers' Program in Criminal Justice, and a research associate at the National Bureau of Economic Research. She joined Rutgers as an associate professor in 2005, and became a full professor there in 2012. Also in 2012, she became a fellow of the IZA Institute of Labor Economics. In 2020, she was named to the James Cullen Chair in Economics, where she will serve a five-year term. She served on the New Jersey Committee on Government Efficiency and Reform Corrections/Sentencing Task Force, prepared expert testimony for the New Jersey Institute of Social Justice, and testified before Congress and the United States Sentencing Commission. Her research interests include prisoner reentry programs and prison violence. References External links Piehl's faculty page Rutgers University faculty 1964 births Living people American criminologists American women economists 21st-century American economists Harvard University alumni Princeton University alumni American women criminologists 21st-century American women
Kouankan is a town and sub-prefecture in the Macenta Prefecture in the Nzérékoré Region of south-eastern Guinea Refugee camp in Kouankan Guinea hosted nearly 29,300 refugees and asylum seekers, mostly from Liberia, Sierra Leone, and Côte d'Ivoire. By December, 11,900 refugees lived in one of Guinea's three refugee camps, Lainé, Kouankan I, and Kouankan II, and at least 9,300 registered refugees lived in urban areas. Although nearly 100,000 Sierra Leoneans repatriated between 2000 and 2004 toward the end of Sierra Leone's decade-long civil war, some refused. Several hundred Sierra Leoneans living within and close to the former Boreah refugee camp near Kissidougou in 2007 rejected both repatriation and long-term local settlement options. Some 8,100 Sierra Leonean refugees remained in Guinea. Most Liberian refugees fled to Guinea in the early 1990s to escape Liberia's civil war. Their numbers peaked at 300,000 to 400,000 by the middle of the decade. The end of Liberia's conflict in 1996 opened the door for large-scale repatriation. Since 1997, some 200,000 or more Liberians have repatriated from Guinea. Their exact numbers, however, are uncertain because the majority returned to Liberia spontaneously, without assistance from the UN High Commissioner for Refugees (UNHCR). Most Liberian refugees lived in villages in Guinea's Forest Region, located north of the border with Liberia, near the Guinean towns of Gueckedou, Macenta, and Nzerekore. Only two UNHCR camps for Liberian refugees remained at the end of 2000: Koyama in Nzerekore; and Kouankan in Macenta. Early in the year, UNHCR transferred about 9,000 Liberian refugees who had arrived in mid-1999 to a newly established camp in Kouankan. The UN-assisted voluntary repatriation program for Liberians, in which 51,000 Liberians participated since 2005, ended in June. Nearly 16,000 recognized Liberian refugees remained in Guinea at year's end, but the Government claimed there were as many as 50,000, including those who had not registered, and planned to conduct a census in May 2008. The Office of the UN High Commissioner for Refugees (UNHCR) planned to encourage these refugees to move to host communities and to settle locally. Kouankan location Latitude of Kouankan: 8,4422 (826'31.992"N) Longitude of Kouankan: -9,1386 (98'18.996"W) Altitude of Kouankan: 528 m References .. http://www.refworld.org/docid/485f50d72.html Sub-prefectures of the Nzérékoré Region
Hannington may refer to: Places in England Hannington, Hampshire Hannington, Northamptonshire Hannington, Wiltshire People James Hannington (1847–1885), English bishop of Eastern Equatorial Africa Henry Hannington (1797–1870), English cricketer Wal Hannington (1896–1966), British Communist William Hannington (by 1530–1607), English politician Other uses Hanningtons, former department store, Brighton, England See also Hanington (disambiguation)
Integrated learning systems are hardware/software solutions designed to deliver instructional content. The effective delivery of that content is measured, monitored, and maintained with an array of assessment and management tools that may also be part of that system. Integrated learning systems are generally associated with educational/academic environments, but are also deployed within private industry, for example, as a way to introduce employees to new, mission critical systems and software applications. As opposed to static online help or even animated tutorials, integrated learning systems are highly interactive and are designed to provide feedback as to progress and grasp of the subject matter at hand. Built-in tools further allow executive management or instructors and trainers to monitor and measure a student's progress. General characteristics Instructional objectives are specified with individual lessons tied to the objectives. Lessons are integrated into the standard curriculum. Courseware spans several grade levels in comprehensive fashion. Courseware is delivered on a networked system of microcomputers or terminals. Management systems collect and record results of student performance. References Bailey. Computer-based Integrated Learning Systems. 1993. Richard. ERP Portal & Learning Management System. 2015. Learning management systems
Zeadmete finlayi is a species of sea snail, a marine gastropod mollusk in the family Cancellariidae, the nutmeg snails. Description The length of the shell attains 3 mm, its diameter 1.8 mm. Distribution This marine species is endemic to New Zealand and occurs off North Island. References Petit, R.E. & Harasewych, M.G. (2005) Catalogue of the superfamily Cancellarioidea Forbes and Hanley, 1851 (Gastropoda: Prosobranchia)- 2nd edition. Zootaxa, 1102, 3–161. NIZT 682 Hemmen J. (2007). Recent Cancellariidae. Wiesbaden, 428pp Spencer, H.G., Marshall, B.A. & Willan, R.C. (2009). Checklist of New Zealand living Mollusca. Pp 196-219. in: Gordon, D.P. (ed.) New Zealand inventory of biodiversity. Volume one. Kingdom Animalia: Radiata, Lophotrochozoa, Deuterostomia. Canterbury University Press, Christchurch External links Powell, A. W. B. (1940). The marine Mollusca of the Aupourian Province, New Zealand. Transactions of the Royal Society of New Zealand. 70: 205-248 Spencer H.G., Willan R.C., Marshall B.A. & Murray T.J. (2011). Checklist of the Recent Mollusca Recorded from the New Zealand Exclusive Economic Zone finlayi Gastropods described in 1940 Gastropods of New Zealand
Rosalva Yazmín Luna Ruiz (born c. 1981 in Los Mochis, Sinaloa) is a Mexican beauty queen who represented her country in Miss Universe 2004, placing as one of the Top 15 semifinalists. Nuestra Belleza Mexico Luna competed in 2003 as the delegate from Sinaloa in her country's national beauty pageant, Nuestra Belleza México, winning the competition and gaining the right to represent Mexico in Miss Universe 2004. Miss Universe 2004 As her country's official representative to the 2004 Miss Universe pageant, held in Quito, Ecuador, Luna placed second to Miss Panama in the Best National Costume competition. On June 1, 2004, she became one of the top 15 semifinalists who competed for the Miss Universe title, giving Mexico their first placement in the pageant since Silvia Salgado in 1999. References External links Official Nuestra Belleza Mexico website - Past titleholders 1980s births Living people Mexican beauty pageant winners Mexican female models Miss Universe 2004 contestants Models from Sinaloa Nuestra Belleza México winners People from Los Mochis
The FTBOA Florida Sire Stakes Affirmed division is a thoroughbred horse race run annually as the third leg of the (FTBOA) Florida Sire stakes series. Inaugurated in 1983 at Calder Race Course as part of the Florida Stallion stakes series the race was named after the Florida-bred Triple Crown winner Affirmed, who was well known for his rivalry with the west coast-bred Alydar. The race was originally run at 6 furlongs but in its second year was increased to 7 furlongs in order to create a gradually increasing set of lengths throughout the series to allow the young horses to step up to each new length as they moved through their training. The Affirmed Stakes has run in two divisions on four separate occasions (1985–1987 and 2001). The race was discontinued at Calder Race Course in 2012 and taken over by Gulfstream Park in 2013. Records Speed record: (at current distance of 7 furlongs) Soutache 2017 (1:22.46) Most wins by a jockey: 3 – Gene St. Leon (1984, Div.2 – 1985, 1988) 3 – José A. Vélez Jr. (1983, 1990, 1991) Most wins by a trainer: 4 – Frank Gomez (Div.2 – 1987, 1990, 1991, 2005) Most wins by an owner: 3 – Jacks or Better Farm, Inc. (2009, 2011, 2014) Winners Gulfstream Park 2017–2018 Media Guide and race history: References Horse races in Florida Flat horse races for two-year-olds Recurring sporting events established in 1982 Calder Race Course 1982 establishments in Florida
Cadmus or Cadmos (), was the ancient name for a river that flowed from Mount Cadmus, in ancient Phrygia. The river, probably the modern Gökpınar (in Aydın Province, Turkey), which flows into the Lycus, a tributary of the Maeander. (Hamilton, Researches, &c., vol. i. p. 513.) References Phrygia Rivers of Turkey
```c /* packet-dcerpc-pn-io.c * Routines for PROFINET IO dissection. * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version 2 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * The PN-IO protocol is a field bus protocol related to decentralized * periphery and is developed by the PROFIBUS Nutzerorganisation e.V. (PNO), * see: www.profibus.com * * * PN-IO is based on the common DCE-RPC and the "lightweight" PN-RT * (ethernet type 0x8892) protocols. * * The context manager (CM) part is handling context information * (like establishing, ...) and is using DCE-RPC as its underlying * protocol. * * The actual cyclic data transfer and acyclic notification uses the * "lightweight" PN-RT protocol. * * There are some other related PROFINET protocols (e.g. PN-DCP, which is * handling addressing topics). * * Please note: the PROFINET CBA protocol is independent of the PN-IO protocol! */ /* * Cyclic PNIO RTC1 Data Dissection: * * To dissect cyclic PNIO RTC1 frames, this plug-in has to collect important module * information out of "Ident OK", "Connect Request" and "Write Response" * frames first. This information will be used within "packet-pn-rtc-one.c" to * dissect PNIO and PROFIsafe RTC1 frames. * * The data of Stationname-, -type and -id will be gained out of * packet-pn-dcp.c. The header packet-pn.h will save those data. * * Overview for cyclic PNIO RTC1 data dissection functions: * -> dissect_IOCRBlockReq_block (Save amount of IODataObjects, IOCS) * -> dissect_DataDescription (Save important values for cyclic data) * -> dissect_ExpectedSubmoduleBlockReq_block (Get GSD information) * -> dissect_ModuleDiffBlock_block (Module has different ID) * -> dissect_ProfiSafeParameterRequest (Save PROFIsafe parameters) * -> dissect_RecordDataWrite (Call ProfiSafeParameterRequest) * -> pnio_rtc1_cleanup (Reset routine of saved RTC1 information) */ #include "config.h" #include <string.h> #include <glib.h> #include <epan/packet.h> #include <epan/to_str.h> #include <epan/wmem/wmem.h> #include <epan/dissectors/packet-dcerpc.h> #include <epan/expert.h> #include <epan/dissector_filters.h> #include <epan/proto_data.h> #include <wsutil/file_util.h> #include <epan/prefs.h> #include "packet-pn.h" #include <stdio.h> #include <stdlib.h> void proto_register_pn_io(void); void proto_reg_handoff_pn_io(void); #define MAX_NAMELENGTH 200 /* max. length of the given paths */ #define MAX_LINE_LENGTH 1024 /* used for fgets() */ #define F_MESSAGE_TRAILER_4BYTE 4 /* PROFIsafe: Defines the Amount of Bytes for CRC and Status-/Controlbyte */ #define PN_INPUT_CR 1 /* PROFINET Input Connect Request value */ #define PN_INPUT_DATADESCRITPION 1 /* PROFINET Input Data Description value */ static int proto_pn_io = -1; static int proto_pn_io_controller = -1; static int proto_pn_io_supervisor = -1; static int proto_pn_io_parameterserver = -1; static int hf_pn_io_opnum = -1; static int hf_pn_io_reserved16 = -1; static int hf_pn_io_array = -1; static int hf_pn_io_status = -1; static int hf_pn_io_args_max = -1; static int hf_pn_io_args_len = -1; static int hf_pn_io_array_max_count = -1; static int hf_pn_io_array_offset = -1; static int hf_pn_io_array_act_count = -1; static int hf_pn_io_ar_type = -1; static int hf_pn_io_artype_req = -1; static int hf_pn_io_cminitiator_macadd = -1; static int hf_pn_io_cminitiator_objectuuid = -1; static int hf_pn_io_parameter_server_objectuuid = -1; static int hf_pn_io_ar_data = -1; static int hf_pn_io_ar_properties = -1; static int hf_pn_io_ar_properties_state = -1; static int hf_pn_io_ar_properties_supervisor_takeover_allowed = -1; static int hf_pn_io_ar_properties_parametrization_server = -1; /* removed within 2.3 static int hf_pn_io_ar_properties_data_rate = -1; */ static int hf_pn_io_ar_properties_reserved_1 = -1; static int hf_pn_io_ar_properties_device_access = -1; static int hf_pn_io_ar_properties_companion_ar = -1; static int hf_pn_io_ar_properties_achnowledge_companion_ar = -1; static int hf_pn_io_ar_properties_reserved = -1; static int your_sha256_hashrtupmode = -1; static int your_sha256_hashtartupmode = -1; static int hf_pn_io_ar_properties_pull_module_alarm_allowed = -1; static int hf_pn_RedundancyInfo = -1; static int hf_pn_RedundancyInfo_reserved = -1; static int hf_pn_io_number_of_ARDATAInfo = -1; static int hf_pn_io_cminitiator_activitytimeoutfactor = -1; static int hf_pn_io_cminitiator_udprtport = -1; static int hf_pn_io_station_name_length = -1; static int hf_pn_io_cminitiator_station_name = -1; /* static int hf_pn_io_responder_station_name = -1; */ static int hf_pn_io_arproperties_StartupMode = -1; static int hf_pn_io_parameter_server_station_name = -1; static int hf_pn_io_cmresponder_macadd = -1; static int hf_pn_io_cmresponder_udprtport = -1; static int hf_pn_io_number_of_iocrs = -1; static int hf_pn_io_iocr_tree = -1; static int hf_pn_io_iocr_type = -1; static int hf_pn_io_iocr_reference = -1; static int hf_pn_io_iocr_SubframeOffset = -1; static int hf_pn_io_iocr_SubframeData =-1; /* static int hf_pn_io_iocr_txports_port = -1; */ /* static int hf_pn_io_iocr_txports_redundantport = -1; */ static int hf_pn_io_sr_properties_Reserved_1 = -1; static int hf_pn_io_sr_properties_Reserved_2 = -1; static int hf_pn_io_RedundancyDataHoldFactor = -1; static int hf_pn_io_sr_properties = -1; static int hf_pn_io_sr_properties_InputValidOnBackupAR = -1; static int hf_pn_io_sr_properties_ActivateRedundancyAlarm = -1; static int hf_pn_io_arvendor_strucidentifier_if0_low = -1; static int hf_pn_io_arvendor_strucidentifier_if0_high = -1; static int hf_pn_io_arvendor_strucidentifier_if0_is8000= -1; static int hf_pn_io_arvendor_strucidentifier_not0 = -1; static int hf_pn_io_lt = -1; static int hf_pn_io_iocr_properties = -1; static int hf_pn_io_iocr_properties_rtclass = -1; static int hf_pn_io_iocr_properties_reserved_1 = -1; static int hf_pn_io_iocr_properties_media_redundancy = -1; static int hf_pn_io_iocr_properties_reserved_2 = -1; static int hf_pn_io_iocr_properties_reserved_3 = -1; static int hf_pn_io_iocr_properties_fast_forwarding_mac_adr = -1; static int hf_pn_io_iocr_properties_distributed_subframe_watchdog = -1; static int hf_pn_io_iocr_properties_full_subframe_structure = -1; static int hf_pn_io_data_length = -1; static int hf_pn_io_ir_frame_data = -1; static int hf_pn_io_frame_id = -1; static int hf_pn_io_send_clock_factor = -1; static int hf_pn_io_reduction_ratio = -1; static int hf_pn_io_phase = -1; static int hf_pn_io_sequence = -1; static int hf_pn_io_frame_send_offset = -1; static int hf_pn_io_frame_data_properties = -1; static int hf_pn_io_frame_data_properties_forwarding_Mode = -1; static int hf_pn_io_frame_data_properties_FastForwardingMulticastMACAdd = -1; static int hf_pn_io_frame_data_properties_FragmentMode = -1; static int hf_pn_io_frame_data_properties_reserved_1 = -1; static int hf_pn_io_frame_data_properties_reserved_2 = -1; static int hf_pn_io_watchdog_factor = -1; static int hf_pn_io_data_hold_factor = -1; static int hf_pn_io_iocr_tag_header = -1; static int hf_pn_io_iocr_multicast_mac_add = -1; static int hf_pn_io_number_of_apis = -1; static int hf_pn_io_number_of_io_data_objects = -1; static int hf_pn_io_io_data_object_frame_offset = -1; static int hf_pn_io_number_of_iocs = -1; static int hf_pn_io_iocs_frame_offset = -1; static int hf_pn_io_SFIOCRProperties = -1; static int hf_pn_io_DistributedWatchDogFactor = -1; static int hf_pn_io_RestartFactorForDistributedWD = -1; static int hf_pn_io_SFIOCRProperties_DFPmode = -1; static int hf_pn_io_SFIOCRProperties_reserved_1 = -1; static int hf_pn_io_SFIOCRProperties_reserved_2 = -1; static int hf_pn_io_SFIOCRProperties_DFPType =-1; static int hf_pn_io_SFIOCRProperties_DFPRedundantPathLayout = -1; static int hf_pn_io_SFIOCRProperties_SFCRC16 = -1; static int hf_pn_io_subframe_data = -1; static int hf_pn_io_subframe_data_reserved1 = -1; static int hf_pn_io_subframe_data_reserved2 = -1; static int hf_pn_io_subframe_data_position = -1; static int hf_pn_io_subframe_reserved1 = -1; static int hf_pn_io_subframe_data_length = -1; static int hf_pn_io_subframe_reserved2 = -1; static int hf_pn_io_alarmcr_type = -1; static int hf_pn_io_alarmcr_properties = -1; static int hf_pn_io_alarmcr_properties_priority = -1; static int hf_pn_io_alarmcr_properties_transport = -1; static int hf_pn_io_alarmcr_properties_reserved = -1; static int hf_pn_io_rta_timeoutfactor = -1; static int hf_pn_io_rta_retries = -1; static int hf_pn_io_localalarmref = -1; static int hf_pn_io_remotealarmref = -1; static int hf_pn_io_maxalarmdatalength = -1; static int hf_pn_io_alarmcr_tagheaderhigh = -1; static int hf_pn_io_alarmcr_tagheaderlow = -1; static int hf_pn_io_IRData_uuid = -1; static int hf_pn_io_ar_uuid = -1; static int hf_pn_io_target_ar_uuid = -1; static int hf_pn_io_api_tree = -1; static int hf_pn_io_module_tree = -1; static int hf_pn_io_submodule_tree = -1; static int hf_pn_io_io_data_object = -1; /* General module information */ static int hf_pn_io_io_cs = -1; static int hf_pn_io_substitutionmode = -1; static int hf_pn_io_api = -1; static int hf_pn_io_slot_nr = -1; static int hf_pn_io_subslot_nr = -1; static int hf_pn_io_index = -1; static int hf_pn_io_seq_number = -1; static int hf_pn_io_record_data_length = -1; static int hf_pn_io_add_val1 = -1; static int hf_pn_io_add_val2 = -1; static int hf_pn_io_block = -1; static int hf_pn_io_block_header = -1; static int hf_pn_io_block_type = -1; static int hf_pn_io_block_length = -1; static int hf_pn_io_block_version_high = -1; static int hf_pn_io_block_version_low = -1; static int hf_pn_io_sessionkey = -1; static int hf_pn_io_control_command = -1; static int hf_pn_io_control_command_prmend = -1; static int hf_pn_io_control_command_applready = -1; static int hf_pn_io_control_command_release = -1; static int hf_pn_io_control_command_done = -1; static int hf_pn_io_control_command_ready_for_companion = -1; static int hf_pn_io_control_command_ready_for_rt_class3 = -1; static int hf_pn_io_control_command_prmbegin = -1; static int hf_pn_io_control_command_reserved_7_15 = -1; static int hf_pn_io_control_block_properties = -1; static int hf_pn_io_control_block_properties_applready = -1; static int hf_pn_io_control_block_properties_applready0 = -1; /* static int hf_pn_io_AlarmSequenceNumber = -1; */ static int hf_pn_io_control_command_reserved = -1; static int hf_pn_io_SubmoduleListEntries = -1; static int hf_pn_io_error_code = -1; static int hf_pn_io_error_decode = -1; static int hf_pn_io_error_code1 = -1; static int hf_pn_io_error_code1_pniorw = -1; static int hf_pn_io_error_code1_pnio = -1; static int hf_pn_io_error_code2 = -1; static int hf_pn_io_error_code2_pniorw = -1; static int hf_pn_io_error_code2_pnio_1 = -1; static int hf_pn_io_error_code2_pnio_2 = -1; static int hf_pn_io_error_code2_pnio_3 = -1; static int hf_pn_io_error_code2_pnio_4 = -1; static int hf_pn_io_error_code2_pnio_5 = -1; static int hf_pn_io_error_code2_pnio_6 = -1; static int hf_pn_io_error_code2_pnio_7 = -1; static int hf_pn_io_error_code2_pnio_8 = -1; static int hf_pn_io_error_code2_pnio_20 = -1; static int hf_pn_io_error_code2_pnio_21 = -1; static int hf_pn_io_error_code2_pnio_22 = -1; static int hf_pn_io_error_code2_pnio_23 = -1; static int hf_pn_io_error_code2_pnio_40 = -1; static int hf_pn_io_error_code2_pnio_61 = -1; static int hf_pn_io_error_code2_pnio_62 = -1; static int hf_pn_io_error_code2_pnio_63 = -1; static int hf_pn_io_error_code2_pnio_64 = -1; static int hf_pn_io_error_code2_pnio_65 = -1; static int hf_pn_io_error_code2_pnio_66 = -1; static int hf_pn_io_error_code2_pnio_70 = -1; static int hf_pn_io_error_code2_pnio_71 = -1; static int hf_pn_io_error_code2_pnio_72 = -1; static int hf_pn_io_error_code2_pnio_73 = -1; static int hf_pn_io_error_code2_pnio_74 = -1; static int hf_pn_io_error_code2_pnio_75 = -1; static int hf_pn_io_error_code2_pnio_76 = -1; static int hf_pn_io_error_code2_pnio_77 = -1; static int hf_pn_io_error_code2_pnio_253 = -1; static int hf_pn_io_error_code2_pnio_255 = -1; static int hf_pn_io_alarm_type = -1; static int hf_pn_io_alarm_specifier = -1; static int hf_pn_io_alarm_specifier_sequence = -1; static int hf_pn_io_alarm_specifier_channel = -1; static int hf_pn_io_alarm_specifier_manufacturer = -1; static int hf_pn_io_alarm_specifier_submodule = -1; static int hf_pn_io_alarm_specifier_ardiagnosis = -1; static int hf_pn_io_alarm_dst_endpoint = -1; static int hf_pn_io_alarm_src_endpoint = -1; static int hf_pn_io_pdu_type = -1; static int hf_pn_io_pdu_type_type = -1; static int hf_pn_io_pdu_type_version = -1; static int hf_pn_io_add_flags = -1; static int hf_pn_io_window_size = -1; static int hf_pn_io_tack = -1; static int hf_pn_io_send_seq_num = -1; static int hf_pn_io_ack_seq_num = -1; static int hf_pn_io_var_part_len = -1; static int hf_pn_io_number_of_modules = -1; static int hf_pn_io_module_ident_number = -1; static int hf_pn_io_module_properties = -1; static int hf_pn_io_module_state = -1; static int hf_pn_io_number_of_submodules = -1; static int hf_pn_io_submodule_ident_number = -1; static int hf_pn_io_submodule_properties = -1; static int hf_pn_io_submodule_properties_type = -1; static int hf_pn_io_submodule_properties_shared_input = -1; static int your_sha256_hash = -1; static int your_sha256_hashh = -1; static int hf_pn_io_submodule_properties_discard_ioxs = -1; static int hf_pn_io_submodule_properties_reserved = -1; static int hf_pn_io_submodule_state = -1; static int hf_pn_io_submodule_state_format_indicator = -1; static int hf_pn_io_submodule_state_add_info = -1; static int hf_pn_io_submodule_state_qualified_info = -1; static int hf_pn_io_submodule_state_maintenance_required = -1; static int hf_pn_io_submodule_state_maintenance_demanded = -1; static int hf_pn_io_submodule_state_diag_info = -1; static int hf_pn_io_submodule_state_ar_info = -1; static int hf_pn_io_submodule_state_ident_info = -1; static int hf_pn_io_submodule_state_detail = -1; static int hf_pn_io_data_description_tree = -1; static int hf_pn_io_data_description = -1; static int hf_pn_io_submodule_data_length = -1; static int hf_pn_io_length_iocs = -1; static int hf_pn_io_length_iops = -1; static int hf_pn_io_iocs = -1; static int hf_pn_io_iops = -1; static int hf_pn_io_ioxs_extension = -1; static int hf_pn_io_ioxs_res14 = -1; static int hf_pn_io_ioxs_instance = -1; static int hf_pn_io_ioxs_datastate = -1; static int hf_pn_io_address_resolution_properties = -1; static int hf_pn_io_mci_timeout_factor = -1; static int hf_pn_io_provider_station_name = -1; static int hf_pn_io_user_structure_identifier = -1; static int hf_pn_io_user_structure_identifier_manf = -1; static int hf_pn_io_channel_number = -1; static int hf_pn_io_channel_properties = -1; static int hf_pn_io_channel_properties_type = -1; static int hf_pn_io_channel_properties_accumulative = -1; static int hf_pn_io_channel_properties_maintenance = -1; static int hf_pn_io_NumberOfSubframeBlocks = -1; static int hf_pn_io_channel_properties_specifier = -1; static int hf_pn_io_channel_properties_direction = -1; static int hf_pn_io_channel_error_type = -1; static int hf_pn_io_ext_channel_error_type0 = -1; static int hf_pn_io_ext_channel_error_type0x8000 = -1; static int hf_pn_io_ext_channel_error_type0x8001 = -1; static int hf_pn_io_ext_channel_error_type0x8002 = -1; static int hf_pn_io_ext_channel_error_type0x8003 = -1; static int hf_pn_io_ext_channel_error_type0x8004 = -1; static int hf_pn_io_ext_channel_error_type0x8005 = -1; static int hf_pn_io_ext_channel_error_type0x8007 = -1; static int hf_pn_io_ext_channel_error_type0x8008 = -1; static int hf_pn_io_ext_channel_error_type0x800A = -1; static int hf_pn_io_ext_channel_error_type0x800B = -1; static int hf_pn_io_ext_channel_error_type0x800C = -1; static int hf_pn_io_ext_channel_error_type = -1; static int hf_pn_io_ext_channel_add_value = -1; static int hf_pn_io_ptcp_subdomain_id = -1; static int hf_pn_io_ir_data_id = -1; static int hf_pn_io_max_bridge_delay = -1; static int hf_pn_io_number_of_ports = -1; static int hf_pn_io_max_port_tx_delay = -1; static int hf_pn_io_max_port_rx_delay = -1; static int hf_pn_io_max_line_rx_delay = -1; static int hf_pn_io_yellowtime = -1; static int hf_pn_io_reserved_interval_begin = -1; static int hf_pn_io_reserved_interval_end = -1; static int hf_pn_io_pllwindow = -1; static int hf_pn_io_sync_send_factor = -1; static int hf_pn_io_sync_properties = -1; static int hf_pn_io_sync_frame_address = -1; static int hf_pn_io_ptcp_timeout_factor = -1; static int hf_pn_io_ptcp_takeover_timeout_factor = -1; static int hf_pn_io_ptcp_master_startup_time = -1; static int hf_pn_io_ptcp_master_priority_1 = -1; static int hf_pn_io_ptcp_master_priority_2 = -1; static int hf_pn_io_ptcp_length_subdomain_name = -1; static int hf_pn_io_ptcp_subdomain_name = -1; static int hf_pn_io_MultipleInterfaceMode_NameOfDevice = -1; static int hf_pn_io_MultipleInterfaceMode_reserved_1 = -1; static int hf_pn_io_MultipleInterfaceMode_reserved_2 = -1; /* added Portstatistics */ static int hf_pn_io_pdportstatistic_ifInOctets = -1; static int hf_pn_io_pdportstatistic_ifOutOctets = -1; static int hf_pn_io_pdportstatistic_ifInDiscards = -1; static int hf_pn_io_pdportstatistic_ifOutDiscards = -1; static int hf_pn_io_pdportstatistic_ifInErrors = -1; static int hf_pn_io_pdportstatistic_ifOutErrors = -1; /* end of port statistics */ static int hf_pn_io_domain_boundary = -1; static int hf_pn_io_domain_boundary_ingress = -1; static int hf_pn_io_domain_boundary_egress = -1; static int hf_pn_io_multicast_boundary = -1; static int hf_pn_io_adjust_properties = -1; static int hf_pn_io_PreambleLength = -1; static int hf_pn_io_mau_type = -1; static int hf_pn_io_mau_type_mode = -1; static int hf_pn_io_port_state = -1; static int hf_pn_io_line_delay = -1; static int hf_pn_io_number_of_peers = -1; static int hf_pn_io_length_peer_port_id = -1; static int hf_pn_io_peer_port_id = -1; static int hf_pn_io_length_peer_chassis_id = -1; static int hf_pn_io_peer_chassis_id = -1; static int hf_pn_io_length_own_port_id = -1; static int hf_pn_io_own_port_id = -1; static int hf_pn_io_peer_macadd = -1; static int hf_pn_io_media_type = -1; static int hf_pn_io_macadd = -1; static int hf_pn_io_length_own_chassis_id = -1; static int hf_pn_io_own_chassis_id = -1; static int hf_pn_io_ethertype = -1; static int hf_pn_io_rx_port = -1; static int hf_pn_io_frame_details = -1; static int hf_pn_io_frame_details_sync_frame = -1; static int hf_pn_io_frame_details_meaning_frame_send_offset = -1; static int hf_pn_io_frame_details_reserved = -1; static int hf_pn_io_nr_of_tx_port_groups = -1; static int hf_pn_io_TxPortGroupProperties = -1; static int hf_pn_io_TxPortGroupProperties_bit0 = -1; static int hf_pn_io_TxPortGroupProperties_bit1 = -1; static int hf_pn_io_TxPortGroupProperties_bit2 = -1; static int hf_pn_io_TxPortGroupProperties_bit3 = -1; static int hf_pn_io_TxPortGroupProperties_bit4 = -1; static int hf_pn_io_TxPortGroupProperties_bit5 = -1; static int hf_pn_io_TxPortGroupProperties_bit6 = -1; static int hf_pn_io_TxPortGroupProperties_bit7 = -1; static int hf_pn_io_start_of_red_frame_id = -1; static int hf_pn_io_end_of_red_frame_id = -1; static int hf_pn_io_ir_begin_end_port = -1; static int hf_pn_io_number_of_assignments = -1; static int hf_pn_io_number_of_phases = -1; static int hf_pn_io_red_orange_period_begin_tx = -1; static int hf_pn_io_orange_period_begin_tx = -1; static int hf_pn_io_green_period_begin_tx = -1; static int hf_pn_io_red_orange_period_begin_rx = -1; static int hf_pn_io_orange_period_begin_rx = -1; static int hf_pn_io_green_period_begin_rx = -1; /* static int hf_pn_io_tx_phase_assignment = -1; */ static int hf_pn_ir_tx_phase_assignment = -1; static int hf_pn_ir_rx_phase_assignment = -1; static int hf_pn_io_tx_phase_assignment_begin_value = -1; static int hf_pn_io_tx_phase_assignment_orange_begin = -1; static int hf_pn_io_tx_phase_assignment_end_reserved = -1; static int hf_pn_io_tx_phase_assignment_reserved = -1; /* static int hf_pn_io_rx_phase_assignment = -1; */ static int hf_pn_io_slot = -1; static int hf_pn_io_subslot = -1; static int hf_pn_io_number_of_slots = -1; static int hf_pn_io_number_of_subslots = -1; /* static int hf_pn_io_maintenance_required_drop_budget = -1; */ /* static int hf_pn_io_maintenance_demanded_drop_budget = -1; */ /* static int hf_pn_io_error_drop_budget = -1; */ static int hf_pn_io_maintenance_required_power_budget = -1; static int hf_pn_io_maintenance_demanded_power_budget = -1; static int hf_pn_io_error_power_budget = -1; static int hf_pn_io_fiber_optic_type = -1; static int hf_pn_io_fiber_optic_cable_type = -1; static int hf_pn_io_controller_appl_cycle_factor = -1; static int hf_pn_io_time_data_cycle = -1; static int hf_pn_io_time_io_input = -1; static int hf_pn_io_time_io_output = -1; static int hf_pn_io_time_io_input_valid = -1; static int hf_pn_io_time_io_output_valid = -1; static int hf_pn_io_maintenance_status = -1; static int hf_pn_io_maintenance_status_required = -1; static int hf_pn_io_maintenance_status_demanded = -1; static int hf_pn_io_vendor_id_high = -1; static int hf_pn_io_vendor_id_low = -1; static int hf_pn_io_vendor_block_type = -1; static int hf_pn_io_order_id = -1; static int hf_pn_io_im_serial_number = -1; static int hf_pn_io_im_hardware_revision = -1; static int hf_pn_io_im_revision_prefix = -1; static int hf_pn_io_im_sw_revision_functional_enhancement = -1; static int hf_pn_io_im_revision_bugfix = -1; static int hf_pn_io_im_sw_revision_internal_change = -1; static int hf_pn_io_im_revision_counter = -1; static int hf_pn_io_im_profile_id = -1; static int hf_pn_io_im_profile_specific_type = -1; static int hf_pn_io_im_version_major = -1; static int hf_pn_io_im_version_minor = -1; static int hf_pn_io_im_supported = -1; static int hf_pn_io_im_numberofentries = -1; static int hf_pn_io_im_annotation = -1; static int hf_pn_io_im_order_id = -1; static int hf_pn_io_number_of_ars = -1; static int hf_pn_io_cycle_counter = -1; static int hf_pn_io_data_status = -1; static int hf_pn_io_data_status_res67 = -1; static int hf_pn_io_data_status_ok = -1; static int hf_pn_io_data_status_operate = -1; static int hf_pn_io_data_status_res3 = -1; static int hf_pn_io_data_status_valid = -1; static int hf_pn_io_data_status_res1 = -1; static int hf_pn_io_data_status_primary = -1; static int hf_pn_io_transfer_status = -1; static int hf_pn_io_actual_local_time_stamp = -1; static int hf_pn_io_number_of_log_entries = -1; static int hf_pn_io_local_time_stamp = -1; static int hf_pn_io_entry_detail = -1; static int hf_pn_io_ip_address = -1; static int hf_pn_io_subnetmask = -1; static int hf_pn_io_standard_gateway = -1; static int hf_pn_io_mrp_domain_uuid = -1; static int hf_pn_io_mrp_role = -1; static int hf_pn_io_mrp_length_domain_name = -1; static int hf_pn_io_mrp_domain_name = -1; static int hf_pn_io_mrp_instances = -1; static int hf_pn_io_mrp_instance = -1; static int hf_pn_io_mrp_prio = -1; static int hf_pn_io_mrp_topchgt = -1; static int hf_pn_io_mrp_topnrmax = -1; static int hf_pn_io_mrp_tstshortt = -1; static int hf_pn_io_mrp_tstdefaultt = -1; static int hf_pn_io_mrp_tstnrmax = -1; static int hf_pn_io_mrp_check = -1; static int hf_pn_io_mrp_check_mrm = -1; static int hf_pn_io_mrp_check_mrpdomain = -1; static int hf_pn_io_mrp_check_reserved_1 = -1; static int hf_pn_io_mrp_check_reserved_2 = -1; static int hf_pn_io_mrp_rtmode = -1; static int hf_pn_io_mrp_rtmode_rtclass12 = -1; static int hf_pn_io_mrp_rtmode_rtclass3 = -1; static int hf_pn_io_mrp_rtmode_reserved1 = -1; static int hf_pn_io_mrp_rtmode_reserved2 = -1; static int hf_pn_io_mrp_lnkdownt = -1; static int hf_pn_io_mrp_lnkupt = -1; static int hf_pn_io_mrp_lnknrmax = -1; static int hf_pn_io_mrp_version = -1; static int hf_pn_io_substitute_active_flag = -1; static int hf_pn_io_length_data = -1; static int hf_pn_io_mrp_ring_state = -1; static int hf_pn_io_mrp_rt_state = -1; static int hf_pn_io_im_tag_function = -1; static int hf_pn_io_im_tag_location = -1; static int hf_pn_io_im_date = -1; static int hf_pn_io_im_descriptor = -1; static int hf_pn_io_fs_hello_mode = -1; static int hf_pn_io_fs_hello_interval = -1; static int hf_pn_io_fs_hello_retry = -1; static int hf_pn_io_fs_hello_delay = -1; static int hf_pn_io_fs_parameter_mode = -1; static int hf_pn_io_fs_parameter_uuid = -1; static int hf_pn_io_check_sync_mode = -1; static int hf_pn_io_check_sync_mode_reserved = -1; static int hf_pn_io_check_sync_mode_sync_master = -1; static int hf_pn_io_check_sync_mode_cable_delay = -1; /* PROFIsafe fParameters */ static int hf_pn_io_ps_f_prm_flag1 = -1; static int hf_pn_io_ps_f_prm_flag1_chck_seq = -1; static int hf_pn_io_ps_f_prm_flag1_chck_ipar = -1; static int hf_pn_io_ps_f_prm_flag1_sil = -1; static int hf_pn_io_ps_f_prm_flag1_crc_len = -1; static int hf_pn_io_ps_f_prm_flag1_crc_seed = -1; static int hf_pn_io_ps_f_prm_flag1_reserved = -1; static int hf_pn_io_ps_f_prm_flag2 = -1; static int hf_pn_io_ps_f_wd_time = -1; static int hf_pn_io_ps_f_ipar_crc = -1; static int hf_pn_io_ps_f_par_crc = -1; static int hf_pn_io_ps_f_src_adr = -1; static int hf_pn_io_ps_f_dest_adr = -1; static int hf_pn_io_ps_f_prm_flag2_reserved = -1; static int hf_pn_io_ps_f_prm_flag2_f_block_id = -1; static int hf_pn_io_ps_f_prm_flag2_f_par_version = -1; static int hf_pn_io_profidrive_request_reference = -1; static int hf_pn_io_profidrive_request_id = -1; static int hf_pn_io_profidrive_do_id = -1; static int hf_pn_io_profidrive_no_of_parameters = -1; static int hf_pn_io_profidrive_response_id = -1; static int hf_pn_io_profidrive_param_attribute = -1; static int hf_pn_io_profidrive_param_no_of_elems = -1; static int hf_pn_io_profidrive_param_number = -1; static int hf_pn_io_profidrive_param_subindex = -1; static int hf_pn_io_profidrive_param_format = -1; static int hf_pn_io_profidrive_param_no_of_values = -1; static int hf_pn_io_profidrive_param_value_byte = -1; static int hf_pn_io_profidrive_param_value_word = -1; static int hf_pn_io_profidrive_param_value_dword = -1; static int hf_pn_io_profidrive_param_value_float = -1; static int hf_pn_io_profidrive_param_value_string = -1; /* static int hf_pn_io_packedframe_SFCRC = -1; */ static gint ett_pn_io = -1; static gint ett_pn_io_block = -1; static gint ett_pn_io_block_header = -1; static gint ett_pn_io_status = -1; static gint ett_pn_io_rtc = -1; static gint ett_pn_io_rta = -1; static gint ett_pn_io_pdu_type = -1; static gint ett_pn_io_add_flags = -1; static gint ett_pn_io_control_command = -1; static gint ett_pn_io_ioxs = -1; static gint ett_pn_io_api = -1; static gint ett_pn_io_data_description = -1; static gint ett_pn_io_module = -1; static gint ett_pn_io_submodule = -1; static gint ett_pn_io_io_data_object = -1; static gint ett_pn_io_io_cs = -1; static gint ett_pn_io_ar_properties = -1; static gint ett_pn_io_iocr_properties = -1; static gint ett_pn_io_submodule_properties = -1; static gint ett_pn_io_alarmcr_properties = -1; static gint ett_pn_io_submodule_state = -1; static gint ett_pn_io_channel_properties = -1; static gint ett_pn_io_slot = -1; static gint ett_pn_io_subslot = -1; static gint ett_pn_io_maintenance_status = -1; static gint ett_pn_io_data_status = -1; static gint ett_pn_io_iocr = -1; static gint ett_pn_io_mrp_rtmode = -1; static gint ett_pn_io_control_block_properties = -1; static gint ett_pn_io_check_sync_mode = -1; static gint ett_pn_io_ir_frame_data = -1; static gint ett_pn_FrameDataProperties = -1; static gint ett_pn_io_ar_info = -1; static gint ett_pn_io_ar_data = -1; static gint ett_pn_io_ir_begin_end_port = -1; static gint ett_pn_io_ir_tx_phase = -1; static gint ett_pn_io_ir_rx_phase = -1; static gint ett_pn_io_subframe_data =-1; static gint ett_pn_io_SFIOCRProperties = -1; static gint ett_pn_io_frame_defails = -1; static gint ett_pn_io_profisafe_f_parameter = -1; static gint ett_pn_io_profisafe_f_parameter_prm_flag1 = -1; static gint ett_pn_io_profisafe_f_parameter_prm_flag2 = -1; static gint ett_pn_io_profidrive_parameter_request = -1; static gint ett_pn_io_profidrive_parameter_response = -1; static gint ett_pn_io_profidrive_parameter_address = -1; static gint ett_pn_io_profidrive_parameter_value = -1; static gint ett_pn_io_GroupProperties = -1; #define PD_SUB_FRAME_BLOCK_FIOCR_PROPERTIES_LENGTH 4 #define PD_SUB_FRAME_BLOCK_FRAME_ID_LENGTH 2 #define PD_SUB_FRAME_BLOCK_SUB_FRAME_DATA_LENGTH 4 static expert_field ei_pn_io_block_version = EI_INIT; static expert_field ei_pn_io_block_length = EI_INIT; static expert_field ei_pn_io_unsupported = EI_INIT; static expert_field ei_pn_io_error_code1 = EI_INIT; static expert_field ei_pn_io_localalarmref = EI_INIT; static expert_field ei_pn_io_mrp_instances = EI_INIT; static expert_field ei_pn_io_error_code2 = EI_INIT; static expert_field ei_pn_io_ar_info_not_found = EI_INIT; static expert_field ei_pn_io_iocr_type = EI_INIT; static expert_field ei_pn_io_frame_id = EI_INIT; static expert_field ei_pn_io_nr_of_tx_port_groups = EI_INIT; static e_guid_t uuid_pn_io_device = { 0xDEA00001, 0x6C97, 0x11D1, { 0x82, 0x71, 0x00, 0xA0, 0x24, 0x42, 0xDF, 0x7D } }; static guint16 ver_pn_io_device = 1; static e_guid_t uuid_pn_io_controller = { 0xDEA00002, 0x6C97, 0x11D1, { 0x82, 0x71, 0x00, 0xA0, 0x24, 0x42, 0xDF, 0x7D } }; static guint16 ver_pn_io_controller = 1; static e_guid_t uuid_pn_io_supervisor = { 0xDEA00003, 0x6C97, 0x11D1, { 0x82, 0x71, 0x00, 0xA0, 0x24, 0x42, 0xDF, 0x7D } }; static guint16 ver_pn_io_supervisor = 1; static e_guid_t uuid_pn_io_parameterserver = { 0xDEA00004, 0x6C97, 0x11D1, { 0x82, 0x71, 0x00, 0xA0, 0x24, 0x42, 0xDF, 0x7D } }; static guint16 ver_pn_io_parameterserver = 1; /* PNIO Preference Variables */ gboolean pnio_ps_selection = TRUE; static const char *pnio_ps_networkpath = ""; /* Allow heuristic dissection */ static heur_dissector_list_t heur_pn_subdissector_list; static const value_string pn_io_block_type[] = { { 0x0000, "Reserved" }, { 0x0001, "Alarm Notification High"}, { 0x0002, "Alarm Notification Low"}, { 0x0008, "IODWriteReqHeader"}, { 0x8008, "IODWriteResHeader"}, { 0x0009, "IODReadReqHeader"}, { 0x8009, "IODReadResHeader"}, { 0x0010, "DiagnosisData"}, { 0x0011, "Reserved"}, { 0x0012, "ExpectedIdentificationData"}, { 0x0013, "RealIdentificationData"}, { 0x0014, "SubstituteValue"}, { 0x0015, "RecordInputDataObjectElement"}, { 0x0016, "RecordOutputDataObjectElement"}, { 0x0017, "reserved"}, { 0x0018, "ARData"}, { 0x0019, "LogData"}, { 0x001A, "APIData"}, { 0x001b, "SRLData"}, { 0x0020, "I&M0"}, { 0x0021, "I&M1"}, { 0x0022, "I&M2"}, { 0x0023, "I&M3"}, { 0x0024, "I&M4"}, { 0x0025, "I&M5"}, { 0x0026, "I&M6"}, { 0x0027, "I&M7"}, { 0x0028, "I&M8"}, { 0x0029, "I&M9"}, { 0x002A, "I&M10"}, { 0x002B, "I&M11"}, { 0x002C, "I&M12"}, { 0x002D, "I&M13"}, { 0x002E, "I&M14"}, { 0x002F, "I&M15"}, { 0x0030, "I&M0FilterDataSubmodul"}, { 0x0031, "I&M0FilterDataModul"}, { 0x0032, "I&M0FilterDataDevice"}, { 0x0033, "I&M5Data"}, { 0x8001, "Alarm Ack High"}, { 0x8002, "Alarm Ack Low"}, { 0x0101, "ARBlockReq"}, { 0x8101, "ARBlockRes"}, { 0x0102, "IOCRBlockReq"}, { 0x8102, "IOCRBlockRes"}, { 0x0103, "AlarmCRBlockReq"}, { 0x8103, "AlarmCRBlockRes"}, { 0x0104, "ExpectedSubmoduleBlockReq"}, { 0x8104, "ModuleDiffBlock"}, { 0x0105, "PrmServerBlockReq"}, { 0x8105, "PrmServerBlockRes"}, { 0x0106, "MCRBlockReq"}, { 0x8106, "ARServerBlock"}, { 0x0107, "SubFrameBlock"}, { 0x0108, "ARVendorBlockReq"}, { 0x8108, "ARVendorBlockRes"}, { 0x0109, "IRInfoBlock"}, { 0x010A, "SRInfoBlock"}, { 0x010B, "ARFSUBlock"}, { 0x0110, "IODControlReq Prm End.req"}, { 0x8110, "IODControlRes Prm End.rsp"}, { 0x0111, "IODControlReq Prm End.req"}, { 0x8111, "IODControlRes Prm End.rsp"}, { 0x0112, "IOXBlockReq Application Ready.req"}, { 0x8112, "IOXBlockRes Application Ready.rsp"}, { 0x0113, "IOXBlockReq Application Ready.req"}, { 0x8113, "IOXBlockRes Application Ready.rsp"}, { 0x0114, "IODReleaseReq"}, { 0x8114, "IODReleaseRes"}, { 0x0115, "ARRPCServerBlockReq"}, { 0x8115, "ARRPCServerBlockRes"}, { 0x0116, "IOXControlReq Ready for Companion.req"}, { 0x8116, "IOXControlRes Ready for Companion.rsp"}, { 0x0117, "IOXControlReq Ready for RT_CLASS_3.req"}, { 0x8117, "IOXControlRes Ready for RT_CLASS_3.rsp"}, { 0x0118, "ControlBlockPrmBegin"}, { 0x0119, "SubmoduleListBlock"}, { 0x8118, "ControlBlockPrmBeginRes"}, { 0x0200, "PDPortDataCheck"}, { 0x0201, "PDevData"}, { 0x0202, "PDPortDataAdjust"}, { 0x0203, "PDSyncData"}, { 0x0204, "IsochronousModeData"}, { 0x0205, "PDIRData"}, { 0x0206, "PDIRGlobalData"}, { 0x0207, "PDIRFrameData"}, { 0x0208, "PDIRBeginEndData"}, { 0x0209, "AdjustDomainBoundary"}, { 0x020A, "CheckPeers"}, { 0x020B, "CheckLineDelay"}, { 0x020C, "Checking MAUType"}, { 0x020E, "Adjusting MAUType"}, { 0x020F, "PDPortDataReal"}, { 0x0210, "AdjustMulticastBoundary"}, { 0x0211, "PDInterfaceMrpDataAdjust"}, { 0x0212, "PDInterfaceMrpDataReal"}, { 0x0213, "PDInterfaceMrpDataCheck"}, { 0x0214, "PDPortMrpDataAdjust"}, { 0x0215, "PDPortMrpDataReal"}, { 0x0216, "Media redundancy manager parameters"}, { 0x0217, "Media redundancy client parameters"}, { 0x0218, "Media redundancy RT mode for manager"}, { 0x0219, "Media redundancy ring state data"}, { 0x021A, "Media redundancy RT ring state data"}, { 0x021B, "Adjust LinkState"}, { 0x021C, "Checking LinkState"}, { 0x021D, "Media redundancy RT mode for clients"}, { 0x021E, "CheckSyncDifference"}, { 0x021F, "CheckMAUTypeDifference"}, { 0x0220, "PDPortFODataReal"}, { 0x0221, "Reading real fiber optic manufacturerspecific data"}, { 0x0222, "PDPortFODataAdjust"}, { 0x0223, "PDPortFODataCheck"}, { 0x0224, "Adjust PeerToPeerBoundary"}, { 0x0225, "Adjust DCPBoundary"}, { 0x0226, "Adjust PreambleLength"}, { 0x0227, "Adjust FastForwardingBoundary"}, { 0x0228, "Reading real fiber optic diagnosis data"}, { 0x022A, "PDIRSubframeData"}, { 0x022B, "SubframeBlock"}, { 0x0230, "PDNCDataCheck"}, { 0x0231, "MrpInstanceDataAdjust"}, { 0x0232, "MrpInstanceDataReal"}, { 0x0233, "MrpInstanceDataCheck"}, { 0x0240, "PDInterfaceDataReal"}, { 0x0250, "PDInterfaceAdjust"}, { 0x0251, "PDPortStatistic"}, { 0x0400, "MultipleBlockHeader"}, { 0x0401, "COContainerContent"}, { 0x0500, "RecordDataReadQuery"}, { 0x0600, "FSHello"}, { 0x0601, "FSParameterBlock"}, { 0x0608, "PDInterfaceFSUDataAdjust"}, { 0x0609, "ARFSUDataAdjust"}, { 0x0700, "AutoConfiguration"}, { 0x0701, "AutoConfiguration Communication"}, { 0x0702, "AutoConfiguration Configuration"}, { 0xB050, "Ext-PLL Control / RTC+RTA SyncID 0 (EDD)" }, { 0xB051, "Ext-PLL Control / RTA SyncID 1 (GSY)" }, { 0xB060, "EDD Trace Unit (EDD)" }, { 0xB061, "EDD Trace Unit (EDD)" }, { 0xB070, "OHA Info (OHA)" }, { 0x0F00, "MaintenanceItem"}, { 0x0F01, "Upload selected Records within Upload&RetrievalItem"}, { 0x0F02, "iParameterItem"}, { 0x0F03, "Retrieve selected Records within Upload&RetrievalItem"}, { 0x0F04, "Retrieve all Records within Upload&RetrievalItem"}, { 0, NULL } }; static const value_string pn_io_alarm_type[] = { { 0x0000, "Reserved" }, { 0x0001, "Diagnosis" }, { 0x0002, "Process" }, { 0x0003, "Pull" }, { 0x0004, "Plug" }, { 0x0005, "Status" }, { 0x0006, "Update" }, { 0x0007, "Redundancy" }, { 0x0008, "Controlled by supervisor" }, { 0x0009, "Released" }, { 0x000A, "Plug wrong submodule" }, { 0x000B, "Return of submodule" }, { 0x000C, "Diagnosis disappears" }, { 0x000D, "Multicast communication mismatch notification" }, { 0x000E, "Port data change notification" }, { 0x000F, "Sync data changed notification" }, { 0x0010, "Isochronous mode problem notification" }, { 0x0011, "Network component problem notification" }, { 0x0012, "Time data changed notification" }, { 0x0013, "Dynamic Frame Packing problem notification" }, /*0x0014 - 0x001D reserved */ { 0x001E, "Upload and retrieval notification" }, { 0x001F, "Pull module" }, /*0x0020 - 0x007F manufacturer specific */ /*0x0080 - 0x00FF reserved for profiles */ /*0x0100 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_pdu_type[] = { { 0x01, "Data-RTA-PDU" }, { 0x02, "NACK-RTA-PDU" }, { 0x03, "ACK-RTA-PDU" }, { 0x04, "ERR-RTA-PDU" }, { 0, NULL } }; static const value_string hf_pn_io_frame_data_properties_forwardingMode[] = { { 0x00, "absolute mode" }, { 0x01, "relative mode"}, { 0, NULL } }; static const value_string hf_pn_io_frame_data_properties_FFMulticastMACAdd[] = { { 0x00, "Use interface MAC destination unicast address" }, { 0x01, "Use RT_CLASS_3 destination multicast address"}, { 0x02, "Use FastForwardingMulticastMACAdd"}, { 0x03, "reserved"}, { 0, NULL }}; static const value_string hf_pn_io_frame_data_properties_FragMode[] = { { 0x00, "No fragmentation" }, { 0x01, "Fragmentation enabled maximum size for static fragmentation 128 bytes"}, { 0x02, "Fragmentation enabled maximum size for static fragmentation 256 bytes"}, { 0x03, "reserved"}, { 0, NULL }}; static const value_string pn_io_SFIOCRProperties_DFPType_vals[] = { { 0x00, "DFP_INBOUND" }, { 0x01, "DFP_OUTBOUND" }, { 0, NULL } }; static const value_string pn_io_DFPRedundantPathLayout_decode[] = { { 0x00, "The Frame for the redundant path contains the ordering shown by SubframeData" }, { 0x01, "The Frame for the redundant path contains the inverse ordering shown by SubframeData" }, { 0, NULL } }; static const value_string pn_io_SFCRC16_Decode[] = { { 0x00, "SFCRC16 and SFCycleCounter shall be created or set to zero by the sender and not checked by the receiver" }, { 0x01, "SFCRC16 and SFCycleCounter shall be created by the sender and checked by the receiver." }, { 0, NULL } }; static const value_string pn_io_txgroup_state[] = { { 0x00, "Transmission off" }, { 0x01, "Transmission on " }, { 0, NULL } }; static const value_string pn_io_error_code[] = { { 0x00, "OK" }, { 0x81, "PNIO" }, { 0xCF, "RTA error" }, { 0xDA, "AlarmAck" }, { 0xDB, "IODConnectRes" }, { 0xDC, "IODReleaseRes" }, { 0xDD, "IODControlRes" }, { 0xDE, "IODReadRes" }, { 0xDF, "IODWriteRes" }, { 0, NULL } }; static const value_string pn_io_error_decode[] = { { 0x00, "OK" }, { 0x80, "PNIORW" }, { 0x81, "PNIO" }, { 0, NULL } }; /* dummy for unknown decode */ static const value_string pn_io_error_code1[] = { { 0x00, "OK" }, { 0, NULL } }; /* dummy for unknown decode/code1 combination */ static const value_string pn_io_error_code2[] = { { 0x00, "OK" }, { 0, NULL } }; static const value_string pn_io_error_code1_pniorw[] = { /* high nibble 0-9 not specified -> legacy codes */ { 0xa0, "application: read error" }, { 0xa1, "application: write error" }, { 0xa2, "application: module failure" }, { 0xa3, "application: not specified" }, { 0xa4, "application: not specified" }, { 0xa5, "application: not specified" }, { 0xa6, "application: not specified" }, { 0xa7, "application: busy" }, { 0xa8, "application: version conflict" }, { 0xa9, "application: feature not supported" }, { 0xaa, "application: User specific 1" }, { 0xab, "application: User specific 2" }, { 0xac, "application: User specific 3" }, { 0xad, "application: User specific 4" }, { 0xae, "application: User specific 5" }, { 0xaf, "application: User specific 6" }, { 0xb0, "access: invalid index" }, { 0xb1, "access: write length error" }, { 0xb2, "access: invalid slot/subslot" }, { 0xb3, "access: type conflict" }, { 0xb4, "access: invalid area" }, { 0xb5, "access: state conflict" }, { 0xb6, "access: access denied" }, { 0xb7, "access: invalid range" }, { 0xb8, "access: invalid parameter" }, { 0xb9, "access: invalid type" }, { 0xba, "access: backup" }, { 0xbb, "access: User specific 7" }, { 0xbc, "access: User specific 8" }, { 0xbd, "access: User specific 9" }, { 0xbe, "access: User specific 10" }, { 0xbf, "access: User specific 11" }, { 0xc0, "resource: read constrain conflict" }, { 0xc1, "resource: write constrain conflict" }, { 0xc2, "resource: resource busy" }, { 0xc3, "resource: resource unavailable" }, { 0xc4, "resource: not specified" }, { 0xc5, "resource: not specified" }, { 0xc6, "resource: not specified" }, { 0xc7, "resource: not specified" }, { 0xc8, "resource: User specific 12" }, { 0xc9, "resource: User specific 13" }, { 0xca, "resource: User specific 14" }, { 0xcb, "resource: User specific 15" }, { 0xcc, "resource: User specific 16" }, { 0xcd, "resource: User specific 17" }, { 0xce, "resource: User specific 18" }, { 0xcf, "resource: User specific 19" }, /* high nibble d-f user specific */ { 0, NULL } }; static const value_string pn_io_error_code2_pniorw[] = { /* all values are user specified */ { 0, NULL } }; static const value_string pn_io_error_code1_pnio[] = { { 0x00 /* 0*/, "Reserved" }, { 0x01 /* 1*/, "Connect: Faulty ARBlockReq" }, { 0x02 /* 2*/, "Connect: Faulty IOCRBlockReq" }, { 0x03 /* 3*/, "Connect: Faulty ExpectedSubmoduleBlockReq" }, { 0x04 /* 4*/, "Connect: Faulty AlarmCRBlockReq" }, { 0x05 /* 5*/, "Connect: Faulty PrmServerBlockReq" }, { 0x06 /* 6*/, "Connect: Faulty MCRBlockReq" }, { 0x07 /* 7*/, "Connect: Faulty ARRPCBlockReq" }, { 0x08 /* 8*/, "Read/Write Record: Faulty Record" }, { 0x09 /* 9*/, "Connect: Faulty SubFrameBlock" }, { 0x0A /* 10*/, "Connect: Faulty IRTFrameBlock" }, { 0x14 /* 20*/, "IODControl: Faulty ControlBlockConnect" }, { 0x15 /* 21*/, "IODControl: Faulty ControlBlockPlug" }, { 0x16 /* 22*/, "IOXControl: Faulty ControlBlock after a connect est." }, { 0x17 /* 23*/, "IOXControl: Faulty ControlBlock a plug alarm" }, { 0x28 /* 40*/, "Release: Faulty ReleaseBlock" }, { 0x32 /* 50*/, "Response: Faulty ARBlockRes" }, { 0x33 /* 51*/, "Response: Faulty IOCRBlockRes" }, { 0x34 /* 52*/, "Response: Faulty AlarmCRBlockRes" }, { 0x35 /* 53*/, "Response: Faulty ModuleDifflock" }, { 0x36 /* 54*/, "Response: Faulty ARRPCBlockRes" }, { 0x3c /* 60*/, "AlarmAck Error Codes" }, { 0x3d /* 61*/, "CMDEV" }, { 0x3e /* 62*/, "CMCTL" }, { 0x3f /* 63*/, "NRPM" }, { 0x40 /* 64*/, "RMPM" }, { 0x41 /* 65*/, "ALPMI" }, { 0x42 /* 66*/, "ALPMR" }, { 0x43 /* 67*/, "LMPM" }, { 0x44 /* 68*/, "MMAC" }, { 0x45 /* 69*/, "RPC" }, { 0x46 /* 70*/, "APMR" }, { 0x47 /* 71*/, "APMS" }, { 0x48 /* 72*/, "CPM" }, { 0x49 /* 73*/, "PPM" }, { 0x4a /* 74*/, "DCPUCS" }, { 0x4b /* 75*/, "DCPUCR" }, { 0x4c /* 76*/, "DCPMCS" }, { 0x4d /* 77*/, "DCPMCR" }, { 0x4e /* 78*/, "FSPM" }, { 0xfd /*253*/, "RTA_ERR_CLS_PROTOCOL" }, { 0xff /*255*/, "User specific" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_1[] = { /* CheckingRules for ARBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter ARType" }, { 5, "Error in Parameter ARUUID" }, { 7, "Error in Parameter CMInitiatorMACAddress" }, { 8, "Error in Parameter CMInitiatorObjectUUID" }, { 9, "Error in Parameter ARProperties" }, { 10, "Error in Parameter CMInitiatorActivityTimeoutFactor" }, { 11, "Error in Parameter InitiatorUDPRTPort" }, { 12, "Error in Parameter StationNameLength" }, { 13, "Error in Parameter CMInitiatorStationName" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_2[] = { /* CheckingRules for IOCRBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter IOCRType" }, { 5, "Error in Parameter IOCRReference" }, { 6, "Error in Parameter LT" }, { 7, "Error in Parameter IOCRProperties" }, { 8, "Error in Parameter DataLength" }, { 9, "Error in Parameter FrameID" }, { 10, "Error in Parameter SendClockFactor" }, { 11, "Error in Parameter ReductionRatio" }, { 12, "Error in Parameter Phase" }, { 14, "Error in Parameter FrameSendOffset" }, { 15, "Error in Parameter WatchdogFactor" }, { 16, "Error in Parameter DataHoldFactor" }, { 17, "Error in Parameter IOCRTagHeader" }, { 18, "Error in Parameter IOCRMulticastMacAddress" }, { 19, "Error in Parameter NumberOfAPI" }, { 20, "Error in Parameter API" }, { 21, "Error in Parameter NumberOfIODataObjects" }, { 22, "Error in Parameter SlotNumber" }, { 23, "Error in Parameter SubslotNumber" }, { 24, "Error in Parameter IODataObjectFrameOffset" }, { 25, "Error in Parameter NumberOfIOCS" }, { 26, "Error in Parameter SlotNumber" }, { 27, "Error in Parameter SubslotNumber" }, { 28, "Error in Parameter IOCSFrameOffset" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_3[] = { /* CheckingRules for ExpectedSubmoduleBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter NumberOfAPI" }, { 5, "Error in Parameter API" }, { 6, "Error in Parameter SlotNumber" }, { 7, "Error in Parameter ModuleIdentNumber" }, { 8, "Error in Parameter ModuleProperties" }, { 9, "Error in Parameter NumberOfSubmodules" }, { 10, "Error in Parameter SubslotNumber" }, { 12, "Error in Parameter SubmoduleProperties" }, { 13, "Error in Parameter DataDescription" }, { 14, "Error in Parameter SubmoduleDataLength" }, { 15, "Error in Parameter LengthIOPS" }, { 16, "Error in Parameter LengthIOCS" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_4[] = { /* CheckingRules for AlarmCRBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter AlarmCRType" }, { 5, "Error in Parameter LT" }, { 6, "Error in Parameter AlarmCRProperties" }, { 7, "Error in Parameter RTATimeoutFactor" }, { 8, "Error in Parameter RTARetries" }, { 10, "Error in Parameter MaxAlarmDataLength" }, { 11, "Error in Parameter AlarmCRTagHeaderHigh" }, { 12, "Error in Parameter AlarmCRTagHeaderLow" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_5[] = { /* CheckingRules for PrmServerBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 6, "Error in Parameter CMInitiatorActivityTimeoutFactor" }, { 7, "Error in Parameter StationNameLength" }, { 8, "Error in Parameter ParameterServerStationName" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_6[] = { /* CheckingRules for MCRBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter IOCRReference" }, { 5, "Error in Parameter AddressResolutionProperties" }, { 6, "Error in Parameter MCITimeoutFactor" }, { 7, "Error in Parameter StationNameLength" }, { 8, "Error in Parameter ProviderStationName" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_7[] = { /* CheckingRules for MCRBlockReq */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter InitiatorRPCServerPort" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_8[] = { /* CheckingRules for Read/Write ParameterReqHeader */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 5, "Error in Parameter ARUUID" }, { 6, "Error in Parameter API" }, { 7, "Error in Parameter SlotNumber" }, { 8, "Error in Parameter SubslotNumber" }, { 9, "Error in Parameter Padding" }, { 10, "Error in Parameter Index" }, { 11, "Error in Parameter RecordDataLength" }, { 12, "Error in Parameter TargetARUUID" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_20[] = { /* CheckingRules for ControlBlockConnect */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter Padding" }, { 6, "Error in Parameter SessionKey" }, { 7, "Error in Parameter Padding" }, { 8, "Error in Parameter ControlCommand" }, { 9, "Error in Parameter ControlBlockProperties" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_21[] = { /* CheckingRules for ControlBlockPlug */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter Padding" }, { 6, "Error in Parameter SessionKey" }, { 7, "Error in Parameter AlarmSequenceNumber" }, { 8, "Error in Parameter ControlCommand" }, { 9, "Error in Parameter ControlBlockProperties" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_22[] = { /* CheckingRule for ControlBlockConnect */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter Padding" }, { 6, "Error in Parameter SessionKey" }, { 7, "Error in Parameter Padding" }, { 8, "Error in Parameter ControlCommand" }, { 9, "Error in Parameter ControlBlockProperties" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_23[] = { /* CheckingRules for ControlBlockPlug */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter Padding" }, { 6, "Error in Parameter SessionKey" }, { 7, "Error in Parameter AlarmSequenceNumber" }, { 8, "Error in Parameter ControlCommand" }, { 9, "Error in Parameter ControlBlockProperties" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_40[] = { /* CheckingRules for ReleaseBlock */ { 0, "Error in Parameter BlockType" }, { 1, "Error in Parameter BlockLength" }, { 2, "Error in Parameter BlockVersionHigh" }, { 3, "Error in Parameter BlockVersionLow" }, { 4, "Error in Parameter Padding" }, { 6, "Error in Parameter SessionKey" }, { 7, "Error in Parameter Padding" }, { 8, "Error in Parameter ControlCommand" }, { 9, "Error in Parameter ControlBlockProperties" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_61[] = { /* CMDEV */ { 0, "State Conflict" }, { 1, "Resources" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_62[] = { /* CMCTL */ { 0, "State Conflict" }, { 1, "Timeout" }, { 2, "No data send" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_63[] = { /* NRPM */ { 0, "No DCP active" }, { 1, "DNS Unknown_RealStationName" }, { 2, "DCP No_RealStationName" }, { 3, "DCP Multiple_RealStationName" }, { 4, "DCP No_StationName" }, { 5, "No_IP_Addr" }, { 6, "DCP_Set_Error" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_64[] = { /* RMPM */ { 0, "ArgsLength invalid" }, { 1, "Unknown Blocks" }, { 2, "IOCR Missing" }, { 3, "Wrong AlarmCRBlock count" }, { 4, "Out of AR Resources" }, { 5, "AR UUID unknown" }, { 6, "State conflict" }, { 7, "Out of Provider, Consumer or Alarm Resources" }, { 8, "Out of Memory" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_65[] = { /* ALPMI */ { 0, "Invalid State" }, { 1, "Wrong ACK-PDU" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_66[] = { /* ALPMR */ { 0, "Invalid State" }, { 1, "Wrong Notification PDU" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_70[] = { /* APMR */ { 0, "Invalid State" }, { 1, "LMPM signaled error" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_71[] = { /* APMS */ { 0, "Invalid State" }, { 1, "LMPM signaled error" }, { 2, "Timeout" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_72[] = { /* CPM */ { 1, "Invalid State" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_73[] = { /* PPM */ { 1, "Invalid State" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_74[] = { /* DCPUCS */ { 0, "Invalid State" }, { 1, "LMPM signaled an error" }, { 2, "Timeout" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_75[] = { /* DCPUCR */ { 0, "Invalid State" }, { 1, "LMPM signaled an error" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_76[] = { /* DCPMCS */ { 0, "Invalid State" }, { 1, "LMPM signaled an error" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_77[] = { /* DCPMCR */ { 0, "Invalid State" }, { 1, "LMPM signaled an error" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_253[] = { { 0, "reserved" }, { 1, "Error within the coordination of sequence numbers (RTA_ERR_CODE_SEQ) error" }, { 2, "Instance closed (RTA_ERR_ABORT)" }, { 3, "AR out of memory (RTA_ERR_ABORT)" }, { 4, "AR add provider or consumer failed (RTA_ERR_ABORT)" }, { 5, "AR consumer DHT/WDT expired (RTA_ERR_ABORT)" }, { 6, "AR cmi timeout (RTA_ERR_ABORT)" }, { 7, "AR alarm-open failed (RTA_ERR_ABORT)" }, { 8, "AR alarm-send.cnf(-) (RTA_ERR_ABORT)" }, { 9, "AR alarm-ack-send.cnf(-) (RTA_ERR_ABORT)" }, { 10, "AR alarm data too long (RTA_ERR_ABORT)" }, { 11, "AR alarm.ind(err) (RTA_ERR_ABORT)" }, { 12, "AR rpc-client call.cnf(-) (RTA_ERR_ABORT)" }, { 13, "AR abort.req (RTA_ERR_ABORT)" }, { 14, "AR re-run aborts existing (RTA_ERR_ABORT)" }, { 15, "AR release.ind received (RTA_ERR_ABORT)" }, { 16, "AR device deactivated (RTA_ERR_ABORT)" }, { 17, "AR removed (RTA_ERR_ABORT)" }, { 18, "AR protocol violation (RTA_ERR_ABORT)" }, { 19, "AR name resolution error (RTA_ERR_ABORT)" }, { 20, "AR RPC-Bind error (RTA_ERR_ABORT)" }, { 21, "AR RPC-Connect error (RTA_ERR_ABORT)" }, { 22, "AR RPC-Read error (RTA_ERR_ABORT)" }, { 23, "AR RPC-Write error (RTA_ERR_ABORT)" }, { 24, "AR RPC-Control error (RTA_ERR_ABORT)" }, { 25, "AR forbidden pull or plug after check.rsp and before in-data.ind (RTA_ERR_ABORT)" }, { 26, "AR AP removed (RTA_ERR_ABORT)" }, { 27, "AR link down (RTA_ERR_ABORT)" }, { 28, "AR could not register multicast-mac address (RTA_ERR_ABORT)" }, { 29, "not synchronized (cannot start companion-ar) (RTA_ERR_ABORT)" }, { 30, "wrong topology (cannot start companion-ar) (RTA_ERR_ABORT)" }, { 31, "dcp, station-name changed (RTA_ERR_ABORT)" }, { 32, "dcp, reset to factory-settings (RTA_ERR_ABORT)" }, { 33, "cannot start companion-AR because a 0x8ipp submodule in the first AR... (RTA_ERR_ABORT)" }, { 34, "no irdata record yet (RTA_ERR_ABORT)" }, { 35, "PDEV (RTA_ERROR_ABORT)" }, { 36, "PDEV, no port offers required speed/duplexity (RTA_ERROR_ABORT)" }, { 37, "IP-Suite [of the IOC] changed by means of DCP_Set(IPParameter) or local engineering (RTA_ERROR_ABORT)" }, { 0, NULL } }; static const value_string pn_io_error_code2_pnio_255[] = { /* User specific */ { 255, "User abort" }, { 0, NULL } }; static const value_string pn_io_ioxs[] = { { 0x00 /* 0*/, "detected by subslot" }, { 0x01 /* 1*/, "detected by slot" }, { 0x02 /* 2*/, "detected by IO device" }, { 0x03 /* 3*/, "detected by IO controller" }, { 0, NULL } }; static const value_string pn_io_ar_type[] = { { 0x0000, "reserved" }, { 0x0001, "IO Controller AR"}, { 0x0002, "reserved" }, { 0x0003, "IOCARCIR" }, { 0x0004, "reserved" }, { 0x0005, "reserved" }, { 0x0006, "IO Supervisor AR / DeviceAccess AR" }, /*0x0007 - 0x000F reserved */ { 0x0010, "IO Controller AR (RT_CLASS_3)" }, /*0x0011 - 0x001F reserved */ { 0x0020, "IO Controller AR (sysred/CiR)" }, /*0x0007 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_iocr_type[] = { { 0x0000, "reserved" }, { 0x0001, "Input CR" }, { 0x0002, "Output CR" }, { 0x0003, "Multicast Provider CR" }, { 0x0004, "Multicast Consumer CR" }, /*0x0005 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_data_description[] = { { 0x0000, "reserved" }, { 0x0001, "Input" }, { 0x0002, "Output" }, { 0x0003, "reserved" }, /*0x0004 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_module_state[] = { { 0x0000, "no module" }, { 0x0001, "wrong module" }, { 0x0002, "proper module" }, { 0x0003, "substitute" }, /*0x0004 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_arproperties_state[] = { { 0x00000000, "Reserved" }, { 0x00000001, "Active" }, { 0x00000002, "reserved" }, { 0x00000003, "reserved" }, { 0x00000004, "reserved" }, { 0x00000005, "reserved" }, { 0x00000006, "reserved" }, { 0x00000007, "reserved" }, { 0, NULL } }; static const value_string pn_io_arproperties_supervisor_takeover_allowed[] = { { 0x00000000, "not allowed" }, { 0x00000001, "allowed" }, { 0, NULL } }; static const value_string pn_io_arproperties_parametrization_server[] = { { 0x00000000, "External PrmServer" }, { 0x00000001, "CM Initiator" }, { 0, NULL } }; /* BIT 8 */ static const value_string pn_io_arproperties_DeviceAccess[] = { { 0x00000000, "Only the submodules from the ExpectedSubmoduleBlock are accessible" }, { 0x00000001, "Submodule access is controlled by IO device application" }, { 0, NULL } }; /* Bit 9 - 10 */ static const value_string pn_io_arproperties_companion_ar[] = { { 0x00000000, "Single AR" }, { 0x00000001, "First AR of a companion pair and a companion AR shall follow" }, { 0x00000002, "Companion AR" }, { 0x00000003, "Reserved" }, { 0, NULL } }; /* REMOVED with 2.3 static const value_string pn_io_arproperties_data_rate[] = { { 0x00000000, "at least 100 MB/s or more" }, { 0x00000001, "100 MB/s" }, { 0x00000002, "1 GB/s" }, { 0x00000003, "10 GB/s" }, { 0, NULL } }; */ /* BIT 11 */ static const value_string pn_io_arproperties_acknowldege_companion_ar[] = { { 0x00000000, "No companion AR or no acknowledge for the companion AR required" }, { 0x00000001, "Companion AR with acknowledge" }, { 0, NULL } }; /* bit 29 for legacy startup mode*/ static const value_string your_sha256_hashmode[] = { { 0x00000000, "CombinedObjectContainer not used" }, { 0x00000001, "Reserved" }, { 0, NULL } }; /* bit 29 for advanced statup mode*/ static const value_string your_sha256_hashupmode[] = { { 0x00000000, "CombinedObjectContainer not used" }, { 0x00000001, "Usage of CombinedObjectContainer required" }, { 0, NULL } }; /* bit 30 */ static const value_string pn_io_arpropertiesStartupMode[] = { { 0x00000000, "Legacy" }, { 0x00000001, "Advanced" }, { 0, NULL } }; /* bit 31 */ static const value_string pn_io_arproperties_pull_module_alarm_allowed[] = { { 0x00000000, "AlarmType(=Pull) shall signal pulling of submodule and module" }, { 0x00000001, "AlarmType(=Pull) shall signal pulling of submodule" }, { 0, NULL } }; static const value_string pn_io_RedundancyInfo[] = { { 0x00000000, "Reserved" }, { 0x00000001, "The delivering node is the left or below one" }, { 0x00000002, "The delivering node is the right or above one" }, { 0x00000003, "Reserved" }, { 0, NULL } }; static const value_string pn_io_iocr_properties_rtclass[] = { { 0x00000000, "reserved" }, { 0x00000001, "RT_CLASS_1" }, { 0x00000002, "RT_CLASS_2" }, { 0x00000003, "RT_CLASS_3" }, { 0x00000004, "RT_CLASS_UDP" }, /*0x00000005 - 0x00000007 reserved */ { 0, NULL } }; static const value_string pn_io_MultipleInterfaceMode_NameOfDevice[] = { { 0x00000000, "PortID of LLDP contains name of port (Default)" }, { 0x00000001, "PortID of LLDP contains name of port and NameOfStation" }, { 0, NULL } }; static const value_string pn_io_sr_properties_BackupAR[] = { { 0x00000000, "The device may deliver valid input data" }, { 0x00000001, "The device shall deliver valid input data" }, { 0, NULL } }; static const value_string pn_io_sr_properties_ActivateRedundancyAlarm[] = { { 0x00000000, "The device shall not send Redundancy alarm" }, { 0x00000001, "The device shall send Redundancy alarm" }, { 0, NULL } }; static const value_string pn_io_iocr_properties_media_redundancy[] = { { 0x00000000, "No media redundant frame transfer" }, { 0x00000001, "Media redundant frame transfer" }, { 0, NULL } }; static const value_string pn_io_submodule_properties_type[] = { { 0x0000, "no input and no output data" }, { 0x0001, "input data" }, { 0x0002, "output data" }, { 0x0003, "input and output data" }, { 0, NULL } }; static const value_string pn_io_submodule_properties_shared_input[] = { { 0x0000, "IO controller" }, { 0x0001, "IO controller shared" }, { 0, NULL } }; static const value_string pn_io_submodule_properties_reduce_input_submodule_data_length[] = { { 0x0000, "Expected" }, { 0x0001, "Zero" }, { 0, NULL } }; static const value_string pn_io_submodule_properties_reduce_output_submodule_data_length[] = { { 0x0000, "Expected" }, { 0x0001, "Zero" }, { 0, NULL } }; static const value_string pn_io_submodule_properties_discard_ioxs[] = { { 0x0000, "Expected" }, { 0x0001, "Zero" }, { 0, NULL } }; static const value_string pn_io_alarmcr_properties_priority[] = { { 0x0000, "user priority (default)" }, { 0x0001, "use only low priority" }, { 0, NULL } }; static const value_string pn_io_alarmcr_properties_transport[] = { { 0x0000, "RTA_CLASS_1" }, { 0x0001, "RTA_CLASS_UDP" }, { 0, NULL } }; static const value_string pn_io_submodule_state_format_indicator[] = { { 0x0000, "Coding uses Detail" }, { 0x0001, "Coding uses .IdentInfo, ..." }, { 0, NULL } }; static const value_string pn_io_submodule_state_add_info[] = { { 0x0000, "None" }, { 0x0001, "Takeover not allowed" }, /*0x0002 - 0x0007 reserved */ { 0, NULL } }; static const value_string pn_io_submodule_state_qualified_info[] = { { 0x0000, "No QualifiedInfo available" }, { 0x0001, "QualifiedInfo available" }, { 0, NULL } }; static const value_string pn_io_submodule_state_maintenance_required[] = { { 0x0000, "No MaintenanceRequired available" }, { 0x0001, "MaintenanceRequired available" }, { 0, NULL } }; static const value_string pn_io_submodule_state_maintenance_demanded[] = { { 0x0000, "No MaintenanceDemanded available" }, { 0x0001, "MaintenanceDemanded available" }, { 0, NULL } }; static const value_string pn_io_submodule_state_diag_info[] = { { 0x0000, "No DiagnosisData available" }, { 0x0001, "DiagnosisData available" }, { 0, NULL } }; static const value_string pn_io_submodule_state_ar_info[] = { { 0x0000, "Own" }, { 0x0001, "ApplicationReadyPending (ARP)" }, { 0x0002, "Superordinated Locked (SO)" }, { 0x0003, "Locked By IO Controller (IOC)" }, { 0x0004, "Locked By IO Supervisor (IOS)" }, /*0x0005 - 0x000F reserved */ { 0, NULL } }; static const value_string pn_io_submodule_state_ident_info[] = { { 0x0000, "OK" }, { 0x0001, "Substitute (SU)" }, { 0x0002, "Wrong (WR)" }, { 0x0003, "NoSubmodule (NO)" }, /*0x0004 - 0x000F reserved */ { 0, NULL } }; static const value_string pn_io_submodule_state_detail[] = { { 0x0000, "no submodule" }, { 0x0001, "wrong submodule" }, { 0x0002, "locked by IO controller" }, { 0x0003, "reserved" }, { 0x0004, "application ready pending" }, { 0x0005, "reserved" }, { 0x0006, "reserved" }, { 0x0007, "Substitute" }, /*0x0008 - 0x7FFF reserved */ { 0, NULL } }; static const value_string pn_io_substitutionmode[] = { { 0x0000, "ZERO" }, { 0x0001, "Last value" }, { 0x0002, "Replacement value" }, /*0x0003 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_index[] = { /*0x0008 - 0x7FFF user specific */ /* PROFISafe */ { 0x0100, "PROFISafe" }, /* subslot specific */ { 0x8000, "ExpectedIdentificationData for one subslot" }, { 0x8001, "RealIdentificationData for one subslot" }, /*0x8002 - 0x8009 reserved */ { 0x800A, "Diagnosis in channel coding for one subslot" }, { 0x800B, "Diagnosis in all codings for one subslot" }, { 0x800C, "Diagnosis, Maintenance, Qualified and Status for one subslot" }, /*0x800D - 0x800F reserved */ { 0x8010, "Maintenance required in channel coding for one subslot" }, { 0x8011, "Maintenance demanded in channel coding for one subslot" }, { 0x8012, "Maintenance required in all codings for one subslot" }, { 0x8013, "Maintenance demanded in all codings for one subslot" }, /*0x8014 - 0x801D reserved */ { 0x801E, "SubstituteValues for one subslot" }, /*0x801F - 0x8027 reserved */ { 0x8028, "RecordInputDataObjectElement for one subslot" }, { 0x8029, "RecordOutputDataObjectElement for one subslot" }, { 0x802A, "PDPortDataReal for one subslot" }, { 0x802B, "PDPortDataCheck for one subslot" }, { 0x802C, "PDIRData for one subslot" }, { 0x802D, "Expected PDSyncData for one subslot with SyncID value 0" }, /*0x802E reserved */ { 0x802F, "PDPortDataAdjust for one subslot" }, { 0x8030, "IsochronousModeData for one subslot" }, { 0x8031, "Expected PDSyncData for one subslot with SyncID value 1" }, { 0x8032, "Expected PDSyncData for one subslot with SyncID value 2" }, { 0x8033, "Expected PDSyncData for one subslot with SyncID value 3" }, { 0x8034, "Expected PDSyncData for one subslot with SyncID value 4" }, { 0x8035, "Expected PDSyncData for one subslot with SyncID value 5" }, { 0x8036, "Expected PDSyncData for one subslot with SyncID value 6" }, { 0x8037, "Expected PDSyncData for one subslot with SyncID value 7" }, { 0x8038, "Expected PDSyncData for one subslot with SyncID value 8" }, { 0x8039, "Expected PDSyncData for one subslot with SyncID value 9" }, { 0x803A, "Expected PDSyncData for one subslot with SyncID value 10" }, { 0x803B, "Expected PDSyncData for one subslot with SyncID value 11" }, { 0x803C, "Expected PDSyncData for one subslot with SyncID value 12" }, { 0x803D, "Expected PDSyncData for one subslot with SyncID value 13" }, { 0x803E, "Expected PDSyncData for one subslot with SyncID value 14" }, { 0x803F, "Expected PDSyncData for one subslot with SyncID value 15" }, { 0x8040, "Expected PDSyncData for one subslot with SyncID value 16" }, { 0x8041, "Expected PDSyncData for one subslot with SyncID value 17" }, { 0x8042, "Expected PDSyncData for one subslot with SyncID value 18" }, { 0x8043, "Expected PDSyncData for one subslot with SyncID value 19" }, { 0x8044, "Expected PDSyncData for one subslot with SyncID value 20" }, { 0x8045, "Expected PDSyncData for one subslot with SyncID value 21" }, { 0x8046, "Expected PDSyncData for one subslot with SyncID value 22" }, { 0x8047, "Expected PDSyncData for one subslot with SyncID value 23" }, { 0x8048, "Expected PDSyncData for one subslot with SyncID value 24" }, { 0x8049, "Expected PDSyncData for one subslot with SyncID value 25" }, { 0x804A, "Expected PDSyncData for one subslot with SyncID value 26" }, { 0x804B, "Expected PDSyncData for one subslot with SyncID value 27" }, { 0x804C, "Expected PDSyncData for one subslot with SyncID value 28" }, { 0x804D, "Expected PDSyncData for one subslot with SyncID value 29" }, { 0x804E, "Expected PDSyncData for one subslot with SyncID value 30" }, { 0x804F, "Expected PDSyncData for one subslot with SyncID value 31" }, { 0x8050, "PDInterfaceMrpDataReal for one subslot" }, { 0x8051, "PDInterfaceMrpDataCheck for one subslot" }, { 0x8052, "PDInterfaceMrpDataAdjust for one subslot" }, { 0x8053, "PDPortMrpDataAdjust for one subslot" }, { 0x8054, "PDPortMrpDataReal for one subslot" }, /*0x8055 - 0x805F reserved */ { 0x8060, "PDPortFODataReal for one subslot" }, { 0x8061, "PDPortFODataCheck for one subslot" }, { 0x8062, "PDPortFODataAdjust for one subslot" }, /*0x8063 - 0x806F reserved */ { 0x8070, "PDNCDataCheck for one subslot" }, { 0x8071, "PDInterfaceAdjust for one subslot" }, { 0x8072, "PDPortStatistic for one subslot" }, /*0x8071 - 0x807F reserved */ { 0x8080, "PDInterfaceDataReal" }, /*0x8081 - 0x808F reserved */ { 0x8090, "Expected PDInterfaceFSUDataAdjust" }, /*0x8091 - 0xAFEF reserved except 0x80B0*/ { 0x80B0, "CombinedObjectContainer" }, { 0xAFF0, "I&M0" }, { 0xAFF1, "I&M1" }, { 0xAFF2, "I&M2" }, { 0xAFF3, "I&M3" }, { 0xAFF4, "I&M4" }, { 0xAFF5, "I&M5" }, { 0xAFF6, "I&M6" }, { 0xAFF7, "I&M7" }, { 0xAFF8, "I&M8" }, { 0xAFF9, "I&M9" }, { 0xAFFA, "I&M10" }, { 0xAFFB, "I&M11" }, { 0xAFFC, "I&M12" }, { 0xAFFD, "I&M13" }, { 0xAFFE, "I&M14" }, { 0xAFFF, "I&M15" }, /*0xB000 - 0xB02D reserved for profiles */ { 0xB000, "Sync-Log / RTA SyncID 0 (GSY)" }, { 0xB001, "Sync-Log / RTA SyncID 1 (GSY)" }, { 0xB002, "reserved for profiles" }, { 0xB003, "reserved for profiles" }, { 0xB004, "reserved for profiles" }, { 0xB005, "reserved for profiles" }, { 0xB006, "reserved for profiles" }, { 0xB007, "reserved for profiles" }, { 0xB008, "reserved for profiles" }, { 0xB009, "reserved for profiles" }, { 0xB00A, "reserved for profiles" }, { 0xB00B, "reserved for profiles" }, { 0xB00C, "reserved for profiles" }, { 0xB00D, "reserved for profiles" }, { 0xB00E, "reserved for profiles" }, { 0xB00F, "reserved for profiles" }, { 0xB010, "reserved for profiles" }, { 0xB011, "reserved for profiles" }, { 0xB012, "reserved for profiles" }, { 0xB013, "reserved for profiles" }, { 0xB014, "reserved for profiles" }, { 0xB015, "reserved for profiles" }, { 0xB016, "reserved for profiles" }, { 0xB017, "reserved for profiles" }, { 0xB018, "reserved for profiles" }, { 0xB019, "reserved for profiles" }, { 0xB01A, "reserved for profiles" }, { 0xB01B, "reserved for profiles" }, { 0xB01C, "reserved for profiles" }, { 0xB01D, "reserved for profiles" }, { 0xB01E, "reserved for profiles" }, { 0xB01F, "reserved for profiles" }, { 0xB020, "reserved for profiles" }, { 0xB001, "reserved for profiles" }, { 0xB022, "reserved for profiles" }, { 0xB023, "reserved for profiles" }, { 0xB024, "reserved for profiles" }, { 0xB025, "reserved for profiles" }, { 0xB026, "reserved for profiles" }, { 0xB027, "reserved for profiles" }, { 0xB028, "reserved for profiles" }, { 0xB029, "reserved for profiles" }, { 0xB02A, "reserved for profiles" }, { 0xB02B, "reserved for profiles" }, { 0xB02C, "reserved for profiles" }, { 0xB02D, "reserved for profiles" }, /* PROFIDrive */ { 0xB02E, "PROFIDrive Parameter Access - Local"}, { 0xB02F, "PROFIDrive Parameter Access - Global"}, /*0xB030 - 0xBFFF reserved for profiles */ { 0xB050, "Ext-PLL Control / RTC+RTA SyncID 0 (EDD)" }, { 0xB051, "Ext-PLL Control / RTA SyncID 1 (GSY)" }, { 0xB060, "EDD Trace Unit (EDD" }, { 0xB061, "EDD Trace Unit (EDD" }, { 0xB070, "OHA Info (OHA)" }, /* slot specific */ { 0xC000, "ExpectedIdentificationData for one slot" }, { 0xC001, "RealIdentificationData for one slot" }, /*0xC002 - 0xC009 reserved */ { 0xC00A, "Diagnosis in channel coding for one slot" }, { 0xC00B, "Diagnosis in all codings for one slot" }, { 0xC00C, "Diagnosis, Maintenance, Qualified and Status for one slot" }, /*0xC00D - 0xC00F reserved */ { 0xC010, "Maintenance required in channel coding for one slot" }, { 0xC011, "Maintenance demanded in channel coding for one slot" }, { 0xC012, "Maintenance required in all codings for one slot" }, { 0xC013, "Maintenance demanded in all codings for one slot" }, /*0xC014 - 0xCFFF reserved */ /*0xD000 - 0xDFFF reserved for profiles */ /* AR specific */ { 0xE000, "ExpectedIdentificationData for one AR" }, { 0xE001, "RealIdentificationData for one AR" }, { 0xE002, "ModuleDiffBlock for one AR" }, /*0xE003 - 0xE009 reserved */ { 0xE00A, "Diagnosis in channel coding for one AR" }, { 0xE00B, "Diagnosis in all codings for one AR" }, { 0xE00C, "Diagnosis, Maintenance, Qualified and Status for one AR" }, /*0xE00D - 0xE00F reserved */ { 0xE010, "Maintenance required in channel coding for one AR" }, { 0xE011, "Maintenance demanded in channel coding for one AR" }, { 0xE012, "Maintenance required in all codings for one AR" }, { 0xE013, "Maintenance demanded in all codings for one AR" }, /*0xE014 - 0xE02F reserved */ { 0xE030, "IsochronousModeData for one AR" }, /*0xE031 - 0xE03F reserved */ { 0xE040, "MultipleWrite" }, /*0xE041 - 0xE04F reserved */ { 0xE050, "ARFSUDataAdjust data for one AR" }, /*0xE051 - 0xE05F reserved */ /*0xEC00 - 0xEFFF reserved */ /* API specific */ { 0xF000, "RealIdentificationData for one API" }, /*0xF001 - 0xF009 reserved */ { 0xF00A, "Diagnosis in channel coding for one API" }, { 0xF00B, "Diagnosis in all codings for one API" }, { 0xF00C, "Diagnosis, Maintenance, Qualified and Status for one API" }, /*0xF00D - 0xF00F reserved */ { 0xF010, "Maintenance required in channel coding for one API" }, { 0xF011, "Maintenance demanded in channel coding for one API" }, { 0xF012, "Maintenance required in all codings for one API" }, { 0xF013, "Maintenance demanded in all codings for one API" }, /*0xF014 - 0xF01F reserved */ { 0xF020, "ARData for one API" }, /*0xF021 - 0xF3FF reserved */ /*0xF400 - 0xF7FF reserved */ /* device specific */ /*0xF800 - 0xF80B reserved */ { 0xF80C, "Diagnosis, Maintenance, Qualified and Status for one device" }, /*0xF80D - 0xF81F reserved */ { 0xF820, "ARData" }, { 0xF821, "APIData" }, /*0xF822 - 0xF82F reserved */ { 0xF830, "LogData" }, { 0xF831, "PDevData" }, /*0xF832 - 0xF83F reserved */ { 0xF840, "I&M0FilterData" }, { 0xF841, "PDRealData" }, { 0xF842, "PDExpectedData" }, /*0xF843 - 0xF84F reserved */ { 0xF850, "AutoConfigurarion" }, /*0xF851 - 0xFBFF reserved */ /*0xFC00 - 0xFFFF reserved for profiles */ { 0, NULL } }; static const value_string pn_io_user_structure_identifier[] = { /*0x0000 - 0x7FFF manufacturer specific */ { 0x8000, "ChannelDiagnosis" }, { 0x8001, "Multiple" }, { 0x8002, "ExtChannelDiagnosis" }, { 0x8003, "QualifiedChannelDiagnosis" }, /*0x8004 - 0x80FF reserved */ { 0x8100, "Maintenance" }, /*0x8101 - 0x8FFF reserved */ /*0x9000 - 0x9FFF reserved for profiles */ /*0xA000 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_channel_error_type[] = { { 0x0000, "reserved" }, { 0x0001, "short circuit" }, { 0x0002, "Undervoltage" }, { 0x0003, "Overvoltage" }, { 0x0004, "Overload" }, { 0x0005, "Overtemperature" }, { 0x0006, "line break" }, { 0x0007, "upper limit value exceeded" }, { 0x0008, "lower limit value exceeded" }, { 0x0009, "Error" }, /*0x000A - 0x000F reserved */ { 0x0010, "parametrization fault" }, { 0x0011, "power supply fault" }, { 0x0012, "fuse blown / open" }, { 0x0013, "Manufacturer specific" }, { 0x0014, "ground fault" }, { 0x0015, "reference point lost" }, { 0x0016, "process event lost / sampling error" }, { 0x0017, "threshold warning" }, { 0x0018, "output disabled" }, { 0x0019, "safety event" }, { 0x001A, "external fault" }, /*0x001B - 0x001F manufacturer specific */ /*0x0020 - 0x00FF reserved for common profiles */ /*0x0100 - 0x7FFF manufacturer specific */ { 0x8000, "Data transmission impossible" }, { 0x8001, "Remote mismatch" }, { 0x8002, "Media redundancy mismatch" }, { 0x8003, "Sync mismatch" }, { 0x8004, "IsochronousMode mismatch" }, { 0x8005, "Multicast CR mismatch" }, { 0x8006, "reserved" }, { 0x8007, "Fiber optic mismatch" }, { 0x8008, "Network component function mismatch" }, { 0x8009, "Time mismatch" }, /* added values for IEC version 2.3: */ { 0x800A, "Dynamic frame packing function mismatch" }, { 0x800B, "Media redundancy with planned duplication mismatch"}, { 0x800C, "System redundancy mismatch"}, /* ends */ /*0x800D - 0x8FFF reserved */ /*0x9000 - 0x9FFF reserved for profile */ /*0xA000 - 0xFFFF reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType 0 - 0x7FFF */ static const value_string pn_io_ext_channel_error_type0[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Accumulative Info"}, /* 0x8001 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Data transmission impossible" */ static const value_string pn_io_ext_channel_error_type0x8000[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Link State mismatch - Link down"}, { 0x8001, "MAUType mismatch"}, { 0x8002, "Line Delay mismatch"}, /* 0x8003 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Remote mismatch" */ static const value_string pn_io_ext_channel_error_type0x8001[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Peer Chassis ID mismatch"}, { 0x8001, "Peer Port ID mismatch"}, { 0x8002, "Peer RT_CLASS_3 mismatch a"}, { 0x8003, "Peer MAUType mismatch"}, { 0x8004, "Peer MRP domain mismatch"}, { 0x8005, "No peer detected"}, { 0x8006, "Reserved"}, { 0x8007, "Peer Line Delay mismatch"}, { 0x8008, "Peer PTCP mismatch b"}, { 0x8009, "Peer Preamble Length mismatch"}, { 0x800A, "Peer Fragmentation mismatch"}, /* 0x800B - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Media redundancy mismatch" 0x8002 */ static const value_string pn_io_ext_channel_error_type0x8002[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Manager role fail MRP-instance 1"}, { 0x8001, "MRP-instance 1 ring open"}, { 0x8002, "Reserved"}, { 0x8003, "Multiple manager MRP-instance 1"}, { 0x8010, "Manager role fail MRP-instance 2"}, { 0x8011, "MRP-instance 2 ring open"}, { 0x8012, "Reserved"}, { 0x8013, "Multiple manager MRP-instance 2"}, { 0x8020, "Manager role fail MRP-instance 3"}, { 0x8021, "MRP-instance 3 ring open"}, { 0x8023, "Multiple manager MRP-instance 3"}, { 0x8030, "Manager role fail MRP-instance 4"}, { 0x8031, "MRP-instance 4 ring open"}, { 0x8033, "Multiple manager MRP-instance 4"}, { 0x8040, "Manager role fail MRP-instance 5"}, { 0x8041, "MRP-instance 5 ring open"}, { 0x8043, "Multiple manager MRP-instance 5"}, { 0x8050, "Manager role fail MRP-instance 6"}, { 0x8051, "MRP-instance 6 ring open"}, { 0x8053, "Multiple manager MRP-instance 6"}, { 0x8060, "Manager role fail MRP-instance 7"}, { 0x8061, "MRP-instance 7 ring open"}, { 0x8063, "Multiple manager MRP-instance 7"}, { 0x8070, "Manager role fail MRP-instance 8"}, { 0x8071, "MRP-instance 8 ring open"}, { 0x8073, "Multiple manager MRP-instance 8"}, { 0x8080, "Manager role fail MRP-instance 9"}, { 0x8081, "MRP-instance 9 ring open"}, { 0x8083, "Multiple manager MRP-instance 9"}, { 0x8090, "Manager role fail MRP-instance 10"}, { 0x8091, "MRP-instance 10 ring open"}, { 0x8093, "Multiple manager MRP-instance 10"}, { 0x80A0, "Manager role fail MRP-instance 11"}, { 0x80A1, "MRP-instance 11 ring open"}, { 0x80A3, "Multiple manager MRP-instance 11"}, { 0x80B0, "Manager role fail MRP-instance 12"}, { 0x80B1, "MRP-instance 12 ring open"}, { 0x80B3, "Multiple manager MRP-instance 12"}, { 0x80C0, "Manager role fail MRP-instance 13"}, { 0x80C1, "MRP-instance 13 ring open"}, { 0x80C3, "Multiple manager MRP-instance 13"}, { 0x80D0, "Manager role fail MRP-instance 14"}, { 0x80D1, "MRP-instance 14 ring open"}, { 0x80D3, "Multiple manager MRP-instance 14"}, { 0x80E0, "Manager role fail MRP-instance 15"}, { 0x80E1, "MRP-instance 15 ring open"}, { 0x80E3, "Multiple manager MRP-instance 15"}, { 0x80F0, "Manager role fail MRP-instance 16"}, { 0x80F1, "MRP-instance 16 ring open"}, { 0x80F3, "Multiple manager MRP-instance 16"}, /* 0x8004 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Sync mismatch" and for ChannelErrorType "Time mismatch" 0x8003 and 0x8009*/ static const value_string pn_io_ext_channel_error_type0x8003[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "No sync message received"}, { 0x8001, "- 0x8002 Reserved"}, { 0x8003, "Jitter out of boundary"}, /* 0x8004 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /*ExtChannelErrorType for ChannelErrorType "Isochronous mode mismatch" 0x8004 */ static const value_string pn_io_ext_channel_error_type0x8004[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Output Time Failure - Output update missing or out of order"}, { 0x8001, "Input Time Failure"}, { 0x8002, "Master Life Sign Failure - Error in MLS update detected"}, /* 0x8003 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Multicast CR mismatch" 0x8005 */ static const value_string pn_io_ext_channel_error_type0x8005[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Multicast Consumer CR timed out"}, { 0x8001, "Address resolution failed"}, /* 0x8002 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Fiber optic mismatch" 0x8007*/ static const value_string pn_io_ext_channel_error_type0x8007[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Power Budget"}, /* 0x8001 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Network component function mismatch" 0x8008 */ static const value_string pn_io_ext_channel_error_type0x8008[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "Frame dropped - no resource"}, /* 0x8001 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Dynamic Frame Packing function mismatch" 0x800A */ static const value_string pn_io_ext_channel_error_type0x800A[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ /* 0x8000 - 0x80FF Reserved */ { 0x8100, "Frame late error for FrameID (0x0100)"}, /* 0x8101 + 0x8FFE See Equation (56) */ { 0x8FFF, "Frame late error for FrameID (0x0FFF)"}, /* 0x8001 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "Media redundancy with planned duplication mismatch" 0x800B */ static const value_string pn_io_ext_channel_error_type0x800B[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ /* 0x8000 - 0x86FF Reserved */ { 0x8700, "MRPD duplication void for FrameID (0x0700)"}, /* 0x8701 + 0x8FFE See Equation (57) */ { 0x8FFF, "MRPD duplication void for FrameID (0x0FFF)"}, /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; /* ExtChannelErrorType for ChannelErrorType "System redundancy mismatch" 0x800C */ static const value_string pn_io_ext_channel_error_type0x800C[] = { /* 0x0000 Reserved */ /* 0x0001 - 0x7FFF Manufacturer specific */ { 0x8000, "System redundancy event"}, /* 0x8001 - 0x8FFF Reserved */ /* 0x9000 - 0x9FFF Reserved for profiles */ /* 0xA000 - 0xFFFF Reserved */ { 0, NULL } }; static const value_string pn_io_channel_properties_type[] = { { 0x0000, "submodule or unspecified" }, { 0x0001, "1 Bit" }, { 0x0002, "2 Bit" }, { 0x0003, "4 Bit" }, { 0x0004, "8 Bit" }, { 0x0005, "16 Bit" }, { 0x0006, "32 Bit" }, { 0x0007, "64 Bit" }, /*0x0008 - 0x00FF reserved */ { 0, NULL } }; static const value_string pn_io_channel_properties_accumulative_vals[] = { { 0x0000, "Channel" }, { 0x0001, "ChannelGroup" }, { 0, NULL } }; /* We are reading this as a two bit value, but the spec specifies each bit * separately. Beware endianness when reading spec */ static const value_string pn_io_channel_properties_maintenance[] = { { 0x0000, "Failure" }, { 0x0001, "Maintenance required" }, { 0x0002, "Maintenance demanded" }, { 0x0003, "see QualifiedChannelQualifier" }, { 0, NULL } }; static const value_string pn_io_channel_properties_specifier[] = { { 0x0000, "All subsequent disappears" }, { 0x0001, "Appears" }, { 0x0002, "Disappears" }, { 0x0003, "Disappears but others remain" }, { 0, NULL } }; static const value_string pn_io_channel_properties_direction[] = { { 0x0000, "Manufacturer-specific" }, { 0x0001, "Input" }, { 0x0002, "Output" }, { 0x0003, "Input/Output" }, /*0x0004 - 0x0007 reserved */ { 0, NULL } }; static const value_string pn_io_alarmcr_type[] = { { 0x0000, "reserved" }, { 0x0001, "Alarm CR" }, /*0x0002 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_mau_type[] = { /*0x0000 - 0x0004 reserved */ { 0x0005, "10BASET" }, /*0x0006 - 0x0009 reserved */ { 0x000A, "10BASETXHD" }, { 0x000B, "10BASETXFD" }, { 0x000C, "10BASEFLHD" }, { 0x000D, "10BASEFLFD" }, { 0x000F, "100BASETXHD" }, { 0x0010, "100BASETXFD" }, { 0x0011, "100BASEFXHD" }, { 0x0012, "100BASEFXFD" }, /*0x0013 - 0x0014 reserved */ { 0x0015, "1000BASEXHD" }, { 0x0016, "1000BASEXFD" }, { 0x0017, "1000BASELXHD" }, { 0x0018, "1000BASELXFD" }, { 0x0019, "1000BASESXHD" }, { 0x001A, "1000BASESXFD" }, /*0x001B - 0x001C reserved */ { 0x001D, "1000BASETHD" }, { 0x001E, "1000BASETFD" }, { 0x001F, "10GigBASEFX" }, /*0x0020 - 0x002D reserved */ { 0x002E, "100BASELX10" }, /*0x002F - 0x0035 reserved */ { 0x0036, "100BASEPXFD" }, /*0x0037 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_preamble_length[] = { { 0x0000, "Seven octets Preamble shall be used" }, { 0x0001, "One octet Preamble shall be used" }, /*0x0002 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_mau_type_mode[] = { { 0x0000, "OFF" }, { 0x0001, "ON" }, /*0x0002 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_port_state[] = { { 0x0000, "reserved" }, { 0x0001, "up" }, { 0x0002, "down" }, { 0x0003, "testing" }, { 0x0004, "unknown" }, /*0x0005 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_media_type[] = { { 0x0000, "Unknown" }, { 0x0001, "Copper cable" }, { 0x0002, "Fiber optic cable" }, { 0x0003, "Radio communication" }, /*0x0004 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_fiber_optic_type[] = { { 0x0000, "No fiber type adjusted" }, { 0x0001, "9 um single mode fiber" }, { 0x0002, "50 um multi mode fiber" }, { 0x0003, "62,5 um multi mode fiber" }, { 0x0004, "SI-POF, NA=0.5" }, { 0x0005, "SI-PCF, NA=0.36" }, { 0x0006, "LowNA-POF, NA=0.3" }, { 0x0007, "GI-POF" }, /*0x0008 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_fiber_optic_cable_type[] = { { 0x0000, "No cable specified" }, { 0x0001, "Inside/outside cable, fixed installation" }, { 0x0002, "Inside/outside cable, flexible installation" }, { 0x0003, "Outdoor cable, fixed installation" }, /*0x0004 - 0xFFFF reserved */ { 0, NULL } }; static const value_string pn_io_im_revision_prefix_vals[] = { { 'V', "V - Officially released version" }, { 'R', "R - Revision" }, { 'P', "P - Prototype" }, { 'U', "U - Under Test (Field Test)" }, { 'T', "T - Test Device" }, /*all others reserved */ { 0, NULL } }; static const value_string pn_io_mrp_role_vals[] = { { 0x0000, "Media Redundancy disabled" }, { 0x0001, "Media Redundancy Client" }, { 0x0002, "Media Redundancy Manager" }, /*all others reserved */ { 0, NULL } }; static const value_string pn_io_mrp_instance_no[] = { { 0x0000, "MRP_Instance 1" }, { 0x0001, "MRP_Instance 2" }, { 0x0002, "MRP_Instance 3" }, { 0x0003, "MRP_Instance 4" }, { 0x0004, "MRP_Instance 5" }, { 0x0005, "MRP_Instance 6" }, { 0x0006, "MRP_Instance 7" }, { 0x0007, "MRP_Instance 8" }, { 0x0008, "MRP_Instance 9" }, { 0x0009, "MRP_Instance 10" }, { 0x000A, "MRP_Instance 11" }, { 0x000B, "MRP_Instance 12" }, { 0x000C, "MRP_Instance 13" }, { 0x000D, "MRP_Instance 14" }, { 0x000E, "MRP_Instance 15" }, { 0x000F, "MRP_Instance 16" }, /*all others reserved */ { 0, NULL } }; static const value_string pn_io_mrp_mrm_on[] = { { 0x0000, "Disable MediaRedundancyManager diagnosis" }, { 0x0001, "Enable MediaRedundancyManager diagnosis"}, { 0, NULL } }; static const value_string pn_io_mrp_checkUUID[] = { { 0x0000, "Disable the check of the MRP_DomainUUID" }, { 0x0001, "Enable the check of the MRP_DomainUUID"}, { 0, NULL } }; static const value_string pn_io_mrp_prio_vals[] = { { 0x0000, "Highest priority redundancy manager" }, /* 0x1000 - 0x7000 High priorities */ { 0x8000, "Default priority for redundancy manager" }, /* 0x9000 - 0xE000 Low priorities */ { 0xF000, "Lowest priority redundancy manager" }, /*all others reserved */ { 0, NULL } }; static const value_string pn_io_mrp_rtmode_rtclass12_vals[] = { { 0x0000, "RT_CLASS_1 and RT_CLASS_2 redundancy mode deactivated" }, { 0x0001, "RT_CLASS_1 and RT_CLASS_2 redundancy mode activated" }, { 0, NULL } }; static const value_string pn_io_mrp_rtmode_rtclass3_vals[] = { { 0x0000, "RT_CLASS_3 redundancy mode deactivated" }, { 0x0001, "RT_CLASS_3 redundancy mode activated" }, { 0, NULL } }; static const value_string pn_io_mrp_ring_state_vals[] = { { 0x0000, "Ring open" }, { 0x0001, "Ring closed" }, { 0, NULL } }; static const value_string pn_io_mrp_rt_state_vals[] = { { 0x0000, "RT media redundancy lost" }, { 0x0001, "RT media redundancy available" }, { 0, NULL } }; static const value_string pn_io_control_properties_vals[] = { { 0x0000, "Reserved" }, { 0, NULL } }; static const value_string pn_io_control_properties_prmbegin_vals[] = { { 0x0000, "No PrmBegin" }, { 0x0001, "The IO controller starts the transmisson of the stored start-up parameter" }, { 0, NULL } }; static const value_string pn_io_control_properties_application_ready_vals[] = { { 0x0000, "Wait for explicit ControlCommand.ReadyForCompanion" }, { 0x0001, "Implicit ControlCommand.ReadyForCompanion" }, { 0, NULL } }; static const value_string pn_io_fs_hello_mode_vals[] = { { 0x0000, "OFF" }, { 0x0001, "Send req on LinkUp" }, { 0x0002, "Send req on LinkUp after HelloDelay" }, { 0, NULL } }; static const value_string pn_io_fs_parameter_mode_vals[] = { { 0x0000, "OFF" }, { 0x0001, "ON" }, { 0x0002, "Reserved" }, { 0x0003, "Reserved" }, { 0, NULL } }; static const value_string pn_io_frame_details_sync_master_vals[] = { { 0x0000, "No Sync Frame" }, { 0x0001, "Primary sync frame" }, { 0x0002, "Secondary sync frame" }, { 0x0003, "Reserved" }, { 0, NULL } }; static const value_string pn_io_frame_details_meaning_frame_send_offset_vals[] = { { 0x0000, "Field FrameSendOffset specifies the point of time for receiving or transmitting a frame " }, { 0x0001, "Field FrameSendOffset specifies the beginning of the RT_CLASS_3 interval within a phase" }, { 0x0002, "Field FrameSendOffset specifies the ending of the RT_CLASS_3 interval within a phase" }, { 0x0003, "Reserved" }, { 0, NULL } }; static const value_string pn_io_f_check_seqnr[] = { { 0x00, "consecutive number not included in crc" }, { 0x01, "consecutive number included in crc" }, { 0, NULL } }; static const value_string pn_io_f_check_ipar[] = { { 0x00, "no check" }, { 0x01, "check" }, { 0, NULL } }; static const value_string pn_io_f_sil[] = { { 0x00, "SIL1" }, { 0x01, "SIL2" }, { 0x02, "SIL3" }, { 0x03, "NoSIL" }, { 0, NULL } }; static const value_string pn_io_f_crc_len[] = { { 0x00, "3 octet CRC" }, { 0x01, "2 octet CRC" }, { 0x02, "4 octet CRC" }, { 0x03, "reserved" }, { 0, NULL } }; static const value_string pn_io_f_crc_seed[] = { { 0x00, "CRC-FP as seed value and counter" }, { 0x01, "'1' as seed value and CRC-FP+/MNR" }, { 0, NULL } }; /* F_Block_ID dissection due to ver2.6 specifikation of PI */ static const value_string pn_io_f_block_id[] = { { 0x00, "No F_WD_Time_2, no F_iPar_CRC" }, { 0x01, "No F_WD_Time_2, F_iPar_CRC" }, { 0x02, "F_WD_Time_2, no F_iPar_CRC" }, { 0x03, "F_WD_Time_2, F_iPar_CRC" }, /* 0x04..0x07 reserved */ /* { 0x00, "Parameter set for F-Host/F-Device relationship" }, */ /* { 0x01, "Additional F_Address parameter block" }, */ /* 0x02..0x07 reserved */ { 0, NULL } }; static const value_string pn_io_f_par_version[] = { { 0x00, "Valid for V1-mode" }, { 0x01, "Valid for V2-mode" }, /* 0x02..0x03 reserved */ { 0, NULL } }; static const value_string pn_io_profidrive_request_id_vals[] = { { 0x00, "Reserved" }, { 0x01, "Read request" }, { 0x02, "Change request" }, { 0, NULL } }; static const value_string pn_io_profidrive_response_id_vals[] = { { 0x00, "Reserved" }, { 0x01, "Positive read response" }, { 0x02, "Positive change response" }, { 0x81, "Negative read response" }, { 0x82, "Negative change response" }, { 0, NULL } }; static const value_string pn_io_profidrive_attribute_vals[] = { { 0x00, "Reserved" }, { 0x10, "Value" }, { 0x20, "Description" }, { 0x30, "Text" }, { 0, NULL } }; static const value_string pn_io_profidrive_format_vals[] = { {0x01, "Boolean" }, {0x02, "Integer8" }, {0x03, "Integer16" }, {0x04, "Integer32" }, {0x05, "Unsigned8" }, {0x06, "Unsigned16" }, {0x07, "Unsigned32" }, {0x08, "Float32" }, {0x09, "VisibleString" }, {0x0A, "OctetString" }, {0x0C, "TimeOfDay" }, {0x0D, "TimeDifference" }, {0x32, "Date" }, {0x34, "TimeOfDay" }, {0x35, "TimeDifference" }, {0x36, "TimeDifference" }, { 0, NULL } }; static int dissect_profidrive_value(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint8 format_val) { guint32 value32; guint16 value16; guint8 value8; switch(format_val) { case 1: case 2: case 5: offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_profidrive_param_value_byte, &value8); break; case 3: case 6: offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_profidrive_param_value_word, &value16); break; case 4: case 7: offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_profidrive_param_value_dword, &value32); break; case 8: offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_profidrive_param_value_float, &value32); break; case 9: case 0x0A: { gint sLen; sLen = (gint)tvb_strnlen( tvb, offset, -1); proto_tree_add_item(tree, hf_pn_io_profidrive_param_value_string, tvb, offset, sLen, ENC_ASCII|ENC_NA); offset = (offset + sLen); break; } default: offset = offset + 1; expert_add_info_format(pinfo, tree, &ei_pn_io_unsupported, "Not supported or invalid format %u!", format_val); break; } return(offset); } static GList *pnio_ars; typedef struct pnio_ar_s { /* generic */ e_guid_t aruuid; guint16 inputframeid; guint16 outputframeid; /* controller only */ /*const char controllername[33];*/ const guint8 controllermac[6]; guint16 controlleralarmref; /* device only */ const guint8 devicemac[6]; guint16 devicealarmref; guint16 arType; } pnio_ar_t; static void pnio_ar_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, pnio_ar_t *ar) { p_add_proto_data(wmem_file_scope(), pinfo, proto_pn_io, 0, ar ); p_add_proto_data(pinfo->pool, pinfo, proto_pn_io, 0, GUINT_TO_POINTER(10)); if (tree) { proto_item *item; proto_item *sub_item; proto_tree *sub_tree; address controllermac_addr, devicemac_addr; set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac); set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac); sub_tree = proto_tree_add_subtree_format(tree, tvb, 0, 0, ett_pn_io_ar_info, &sub_item, "ARUUID:%s ContrMAC:%s ContrAlRef:0x%x DevMAC:%s DevAlRef:0x%x InCR:0x%x OutCR=0x%x", guid_to_str(wmem_packet_scope(), (const e_guid_t*) &ar->aruuid), address_to_str(wmem_packet_scope(), &controllermac_addr), ar->controlleralarmref, address_to_str(wmem_packet_scope(), &devicemac_addr), ar->devicealarmref, ar->inputframeid, ar->outputframeid); PROTO_ITEM_SET_GENERATED(sub_item); item = proto_tree_add_guid(sub_tree, hf_pn_io_ar_uuid, tvb, 0, 0, (e_guid_t *) &ar->aruuid); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_ether(sub_tree, hf_pn_io_cminitiator_macadd, tvb, 0, 0, ar->controllermac); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_uint(sub_tree, hf_pn_io_localalarmref, tvb, 0, 0, ar->controlleralarmref); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_ether(sub_tree, hf_pn_io_cmresponder_macadd, tvb, 0, 0, ar->devicemac); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_uint(sub_tree, hf_pn_io_localalarmref, tvb, 0, 0, ar->devicealarmref); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_uint(sub_tree, hf_pn_io_frame_id, tvb, 0, 0, ar->inputframeid); PROTO_ITEM_SET_GENERATED(item); item = proto_tree_add_uint(sub_tree, hf_pn_io_frame_id, tvb, 0, 0, ar->outputframeid); PROTO_ITEM_SET_GENERATED(item); } } static int dissect_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar); static int dissect_a_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep); static int dissect_blocks(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep); static int dissect_PNIO_IOxS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hfindex); static pnio_ar_t * pnio_ar_find_by_aruuid(packet_info *pinfo _U_, e_guid_t *aruuid) { GList *ars; pnio_ar_t *ar; /* find pdev */ for(ars = pnio_ars; ars != NULL; ars = g_list_next(ars)) { ar = (pnio_ar_t *)ars->data; if (memcmp(&ar->aruuid, aruuid, sizeof(e_guid_t)) == 0) { return ar; } } return NULL; } static pnio_ar_t * pnio_ar_new(e_guid_t *aruuid) { pnio_ar_t *ar; ar = (pnio_ar_t *)wmem_alloc0(wmem_file_scope(), sizeof(pnio_ar_t)); memcpy(&ar->aruuid, aruuid, sizeof(e_guid_t)); ar->controlleralarmref = 0xffff; ar->devicealarmref = 0xffff; pnio_ars = g_list_append(pnio_ars, ar); return ar; } /* dissect the four status (error) fields */ static int dissect_PNIO_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint8 u8ErrorCode; guint8 u8ErrorDecode; guint8 u8ErrorCode1; guint8 u8ErrorCode2; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; int bytemask = (drep[0] & DREP_LITTLE_ENDIAN) ? 3 : 0; const value_string *error_code1_vals; const value_string *error_code2_vals = pn_io_error_code2; /* defaults */ /* status */ sub_item = proto_tree_add_item(tree, hf_pn_io_status, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_status); u32SubStart = offset; /* the PNIOStatus field is existing in both the RPC and the application data, * depending on the current PDU. * As the byte representation of these layers are different, this has to be handled * in a somewhat different way than elsewhere. */ dissect_dcerpc_uint8(tvb, offset+(0^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code, &u8ErrorCode); dissect_dcerpc_uint8(tvb, offset+(1^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_decode, &u8ErrorDecode); switch (u8ErrorDecode) { case(0x80): /* PNIORW */ dissect_dcerpc_uint8(tvb, offset+(2^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code1_pniorw, &u8ErrorCode1); error_code1_vals = pn_io_error_code1_pniorw; /* u8ErrorCode2 for PNIORW is always user specific */ dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pniorw, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pniorw; break; case(0x81): /* PNIO */ dissect_dcerpc_uint8(tvb, offset+(2^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code1_pnio, &u8ErrorCode1); error_code1_vals = pn_io_error_code1_pnio; switch (u8ErrorCode1) { case(1): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_1, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_1; break; case(2): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_2, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_2; break; case(3): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_3, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_3; break; case(4): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_4, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_4; break; case(5): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_5, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_5; break; case(6): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_6, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_6; break; case(7): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_7, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_7; break; case(8): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_8, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_8; break; case(20): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_20, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_20; break; case(21): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_21, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_21; break; case(22): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_22, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_22; break; case(23): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_23, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_23; break; case(40): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_40, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_40; break; case(61): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_61, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_61; break; case(62): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_62, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_62; break; case(63): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_63, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_63; break; case(64): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_64, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_64; break; case(65): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_65, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_65; break; case(66): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_66, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_66; break; case(70): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_70, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_70; break; case(71): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_71, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_71; break; case(72): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_72, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_72; break; case(73): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_73, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_73; break; case(74): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_74, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_74; break; case(75): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_75, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_75; break; case(76): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_76, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_76; break; case(77): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_77, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_77; break; case(253): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_253, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_253; break; case(255): dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2_pnio_255, &u8ErrorCode2); error_code2_vals = pn_io_error_code2_pnio_255; break; default: /* don't know this u8ErrorCode1 for PNIO, use defaults */ dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2, &u8ErrorCode2); expert_add_info_format(pinfo, sub_item, &ei_pn_io_error_code1, "Unknown ErrorCode1 0x%x (for ErrorDecode==PNIO)", u8ErrorCode1); break; } break; default: dissect_dcerpc_uint8(tvb, offset+(2^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code1, &u8ErrorCode1); if (u8ErrorDecode!=0) { expert_add_info_format(pinfo, sub_item, &ei_pn_io_error_code1, "Unknown ErrorDecode 0x%x", u8ErrorDecode); } error_code1_vals = pn_io_error_code1; /* don't know this u8ErrorDecode, use defaults */ dissect_dcerpc_uint8(tvb, offset+(3^bytemask), pinfo, sub_tree, drep, hf_pn_io_error_code2, &u8ErrorCode2); if (u8ErrorDecode != 0) { expert_add_info_format(pinfo, sub_item, &ei_pn_io_error_code2, "Unknown ErrorDecode 0x%x", u8ErrorDecode); } } offset += 4; if ((u8ErrorCode == 0) && (u8ErrorDecode == 0) && (u8ErrorCode1 == 0) && (u8ErrorCode2 == 0)) { proto_item_append_text(sub_item, ": OK"); col_append_str(pinfo->cinfo, COL_INFO, ", OK"); } else { proto_item_append_text(sub_item, ": Error: \"%s\", \"%s\", \"%s\", \"%s\"", val_to_str(u8ErrorCode, pn_io_error_code, "(0x%x)"), val_to_str(u8ErrorDecode, pn_io_error_decode, "(0x%x)"), val_to_str(u8ErrorCode1, error_code1_vals, "(0x%x)"), val_to_str(u8ErrorCode2, error_code2_vals, "(0x%x)")); col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: \"%s\", \"%s\", \"%s\", \"%s\"", val_to_str(u8ErrorCode, pn_io_error_code, "(0x%x)"), val_to_str(u8ErrorDecode, pn_io_error_decode, "(0x%x)"), val_to_str(u8ErrorCode1, error_code1_vals, "(0x%x)"), val_to_str(u8ErrorCode2, error_code2_vals, "(0x%x)")); } proto_item_set_len(sub_item, offset - u32SubStart); return offset; } /* dissect the alarm specifier */ static int dissect_Alarm_specifier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint16 u16AlarmSpecifierSequence; guint16 u16AlarmSpecifierChannel; guint16 u16AlarmSpecifierManufacturer; guint16 u16AlarmSpecifierSubmodule; guint16 u16AlarmSpecifierAR; proto_item *sub_item; proto_tree *sub_tree; /* alarm specifier */ sub_item = proto_tree_add_item(tree, hf_pn_io_alarm_specifier, tvb, offset, 2, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_pdu_type); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarm_specifier_sequence, &u16AlarmSpecifierSequence); u16AlarmSpecifierSequence &= 0x07FF; dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarm_specifier_channel, &u16AlarmSpecifierChannel); u16AlarmSpecifierChannel = (u16AlarmSpecifierChannel &0x0800) >> 11; dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarm_specifier_manufacturer, &u16AlarmSpecifierManufacturer); u16AlarmSpecifierManufacturer = (u16AlarmSpecifierManufacturer &0x1000) >> 12; dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarm_specifier_submodule, &u16AlarmSpecifierSubmodule); u16AlarmSpecifierSubmodule = (u16AlarmSpecifierSubmodule & 0x2000) >> 13; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarm_specifier_ardiagnosis, &u16AlarmSpecifierAR); u16AlarmSpecifierAR = (u16AlarmSpecifierAR & 0x8000) >> 15; proto_item_append_text(sub_item, ", Sequence: %u, Channel: %u, Manuf: %u, Submodule: %u AR: %u", u16AlarmSpecifierSequence, u16AlarmSpecifierChannel, u16AlarmSpecifierManufacturer, u16AlarmSpecifierSubmodule, u16AlarmSpecifierAR); return offset; } /* dissect the alarm header */ static int dissect_Alarm_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep) { guint16 u16AlarmType; guint32 u32Api; guint16 u16SlotNr; guint16 u16SubslotNr; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_alarm_type, &u16AlarmType); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); proto_item_append_text(item, ", %s, API:%u, Slot:0x%x/0x%x", val_to_str(u16AlarmType, pn_io_alarm_type, "(0x%x)"), u32Api, u16SlotNr, u16SubslotNr); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s, Slot: 0x%x/0x%x", val_to_str(u16AlarmType, pn_io_alarm_type, "(0x%x)"), u16SlotNr, u16SubslotNr); return offset; } static int dissect_ChannelProperties(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep) { proto_item *sub_item; proto_tree *sub_tree; guint16 u16ChannelProperties; sub_item = proto_tree_add_item(tree, hf_pn_io_channel_properties, tvb, offset, 2, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_channel_properties); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_channel_properties_direction, &u16ChannelProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_channel_properties_specifier, &u16ChannelProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_channel_properties_maintenance, &u16ChannelProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_channel_properties_accumulative, &u16ChannelProperties); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_channel_properties_type, &u16ChannelProperties); return offset; } static int dissect_AlarmUserStructure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint16 *body_length, guint16 u16UserStructureIdentifier) { guint16 u16ChannelNumber; guint16 u16ChannelErrorType; guint16 u16ExtChannelErrorType; guint32 u32ExtChannelAddValue; guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; switch (u16UserStructureIdentifier) { case(0x8000): /* ChannelDiagnosisData */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_channel_number, &u16ChannelNumber); offset = dissect_ChannelProperties(tvb, offset, pinfo, tree, item, drep); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_channel_error_type, &u16ChannelErrorType); *body_length -= 6; break; case(0x8002): /* ExtChannelDiagnosisData */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_channel_number, &u16ChannelNumber); offset = dissect_ChannelProperties(tvb, offset, pinfo, tree, item, drep); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_channel_error_type, &u16ChannelErrorType); if (u16ChannelErrorType < 0x7fff) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8000) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8000, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8001) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8001, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8002) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8002, &u16ExtChannelErrorType); } else if ((u16ChannelErrorType == 0x8003)||(u16ChannelErrorType == 0x8009)) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8003, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8004) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8004, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8005) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8005, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8007) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8007, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x8008) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x8008, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x800A) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x800A, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x800B) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x800B, &u16ExtChannelErrorType); } else if (u16ChannelErrorType == 0x800C) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type0x800C, &u16ExtChannelErrorType); } else { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_error_type, &u16ExtChannelErrorType); } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_ext_channel_add_value, &u32ExtChannelAddValue); *body_length -= 12; break; case(0x8100): /* MaintenanceItem */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); *body_length -= 12; break; /* XXX - dissect remaining user structures of [AlarmItem] */ case(0x8001): /* DiagnosisData */ case(0x8003): /* QualifiedChannelDiagnosisData */ default: if (u16UserStructureIdentifier >= 0x8000) { offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, *body_length); } else { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, *body_length, "UserData"); } *body_length = 0; } return offset; } /* dissect the alarm notification block */ static int dissect_AlarmNotification_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 body_length) { guint32 u32ModuleIdentNumber; guint32 u32SubmoduleIdentNumber; guint16 u16UserStructureIdentifier; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_Alarm_header(tvb, offset, pinfo, tree, item, drep); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_module_ident_number, &u32ModuleIdentNumber); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_submodule_ident_number, &u32SubmoduleIdentNumber); offset = dissect_Alarm_specifier(tvb, offset, pinfo, tree, drep); proto_item_append_text(item, ", Ident:0x%x, SubIdent:0x%x", u32ModuleIdentNumber, u32SubmoduleIdentNumber); body_length -= 20; /* the rest of the block contains optional: [MaintenanceItem] and/or [AlarmItem] */ while (body_length) { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_user_structure_identifier, &u16UserStructureIdentifier); proto_item_append_text(item, ", USI:0x%x", u16UserStructureIdentifier); body_length -= 2; offset = dissect_AlarmUserStructure(tvb, offset, pinfo, tree, item, drep, &body_length, u16UserStructureIdentifier); } return offset; } static int dissect_IandM0_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint8 u8VendorIDHigh; guint8 u8VendorIDLow; char *pOrderID; char *pIMSerialNumber; guint16 u16IMHardwareRevision; guint8 u8SWRevisionPrefix; guint8 u8IMSWRevisionFunctionalEnhancement; guint8 u8IMSWRevisionBugFix; guint8 u8IMSWRevisionInternalChange; guint16 u16IMRevisionCounter; guint16 u16IMProfileID; guint16 u16IMProfileSpecificType; guint8 u8IMVersionMajor; guint8 u8IMVersionMinor; guint16 u16IMSupported; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* x8 VendorIDHigh */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_high, &u8VendorIDHigh); /* x8 VendorIDLow */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_low, &u8VendorIDLow); /* c8[20] OrderID */ pOrderID = (char *)wmem_alloc(wmem_packet_scope(), 20+1); tvb_memcpy(tvb, (guint8 *) pOrderID, offset, 20); pOrderID[20] = '\0'; proto_tree_add_string (tree, hf_pn_io_order_id, tvb, offset, 20, pOrderID); offset += 20; /* c8[16] IM_Serial_Number */ pIMSerialNumber = (char *)wmem_alloc(wmem_packet_scope(), 16+1); tvb_memcpy(tvb, (guint8 *) pIMSerialNumber, offset, 16); pIMSerialNumber[16] = '\0'; proto_tree_add_string (tree, hf_pn_io_im_serial_number, tvb, offset, 16, pIMSerialNumber); offset += 16; /* x16 IM_Hardware_Revision */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_hardware_revision, &u16IMHardwareRevision); /* c8 SWRevisionPrefix */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_revision_prefix, &u8SWRevisionPrefix); /* x8 IM_SWRevision_Functional_Enhancement */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_sw_revision_functional_enhancement, &u8IMSWRevisionFunctionalEnhancement); /* x8 IM_SWRevision_Bug_Fix */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_revision_bugfix, &u8IMSWRevisionBugFix); /* x8 IM_SWRevision_Internal_Change */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_sw_revision_internal_change, &u8IMSWRevisionInternalChange); /* x16 IM_Revision_Counter */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_revision_counter, &u16IMRevisionCounter); /* x16 IM_Profile_ID */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_profile_id, &u16IMProfileID); /* x16 IM_Profile_Specific_Type */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_profile_specific_type, &u16IMProfileSpecificType); /* x8 IM_Version_Major (values) */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_version_major, &u8IMVersionMajor); /* x8 IM_Version_Minor (values) */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_version_minor, &u8IMVersionMinor); /* x16 IM_Supported (bitfield) */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_supported, &u16IMSupported); return offset; } static int dissect_IandM1_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { char *pTagFunction; char *pTagLocation; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* IM_Tag_Function [32] */ pTagFunction = (char *)wmem_alloc(wmem_packet_scope(), 32+1); tvb_memcpy(tvb, (guint8 *) pTagFunction, offset, 32); pTagFunction[32] = '\0'; proto_tree_add_string (tree, hf_pn_io_im_tag_function, tvb, offset, 32, pTagFunction); offset += 32; /* IM_Tag_Location [22] */ pTagLocation = (char *)wmem_alloc(wmem_packet_scope(), 22+1); tvb_memcpy(tvb, (guint8 *) pTagLocation, offset, 22); pTagLocation[22] = '\0'; proto_tree_add_string (tree, hf_pn_io_im_tag_location, tvb, offset, 22, pTagLocation); offset += 22; proto_item_append_text(item, ": TagFunction:\"%s\", TagLocation:\"%s\"", pTagFunction, pTagLocation); return offset; } static int dissect_IandM2_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { char *pDate; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* IM_Date [16] */ pDate = (char *)wmem_alloc(wmem_packet_scope(), 16+1); tvb_memcpy(tvb, (guint8 *) pDate, offset, 16); pDate[16] = '\0'; proto_tree_add_string (tree, hf_pn_io_im_date, tvb, offset, 16, pDate); offset += 16; proto_item_append_text(item, ": Date:\"%s\"", pDate); return offset; } static int dissect_IandM3_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { char *pDescriptor; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* IM_Descriptor [54] */ pDescriptor = (char *)wmem_alloc(wmem_packet_scope(), 54+1); tvb_memcpy(tvb, (guint8 *) pDescriptor, offset, 54); pDescriptor[54] = '\0'; proto_tree_add_string (tree, hf_pn_io_im_descriptor, tvb, offset, 54, pDescriptor); offset += 54; proto_item_append_text(item, ": Descriptor:\"%s\"", pDescriptor); return offset; } static int dissect_IandM4_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } dissect_pn_user_data(tvb, offset, pinfo, tree, 54, "IM Signature"); return offset; } static int dissect_IandM5_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberofEntries; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_numberofentries, &u16NumberofEntries); while(u16NumberofEntries > 0) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); u16NumberofEntries--; } return offset; } static int dissect_IandM0FilterData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfAPIs; guint32 u32Api; guint16 u16NumberOfModules; guint16 u16SlotNr; guint32 u32ModuleIdentNumber; guint16 u16NumberOfSubmodules; guint16 u16SubslotNr; guint32 u32SubmoduleIdentNumber; proto_item *subslot_item; proto_tree *subslot_tree; proto_item *module_item; proto_tree *module_tree; guint32 u32ModuleStart; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); while (u16NumberOfAPIs--) { /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); /* NumberOfModules */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_modules, &u16NumberOfModules); while (u16NumberOfModules--) { module_item = proto_tree_add_item(tree, hf_pn_io_subslot, tvb, offset, 6, ENC_NA); module_tree = proto_item_add_subtree(module_item, ett_pn_io_module); u32ModuleStart = offset; /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, module_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* ModuleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, module_tree, drep, hf_pn_io_module_ident_number, &u32ModuleIdentNumber); /* NumberOfSubmodules */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, module_tree, drep, hf_pn_io_number_of_submodules, &u16NumberOfSubmodules); proto_item_append_text(module_item, ": Slot:%u, Ident:0x%x Submodules:%u", u16SlotNr, u32ModuleIdentNumber, u16NumberOfSubmodules); while (u16NumberOfSubmodules--) { subslot_item = proto_tree_add_item(module_tree, hf_pn_io_subslot, tvb, offset, 6, ENC_NA); subslot_tree = proto_item_add_subtree(subslot_item, ett_pn_io_subslot); /* SubslotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, subslot_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* SubmoduleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, subslot_tree, drep, hf_pn_io_submodule_ident_number, &u32SubmoduleIdentNumber); proto_item_append_text(subslot_item, ": Number:0x%x, Ident:0x%x", u16SubslotNr, u32SubmoduleIdentNumber); } proto_item_set_len(module_item, offset-u32ModuleStart); } } return offset; } static int dissect_IandM5Data_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep) { char *pIMAnnotation; char *pIMOrderID; guint8 u8VendorIDHigh; guint8 u8VendorIDLow; char *pIMSerialNumber; guint16 u16IMHardwareRevision; guint8 u8SWRevisionPrefix; guint8 u8IMSWRevisionFunctionalEnhancement; guint8 u8IMSWRevisionBugFix; guint8 u8IMSWRevisionInternalChange; /* c8[64] IM Annotation */ pIMAnnotation = (char *)wmem_alloc(wmem_packet_scope(), 64+1); tvb_memcpy(tvb, (guint8 *) pIMAnnotation, offset, 64); pIMAnnotation[64] = '\0'; proto_tree_add_string(tree, hf_pn_io_im_annotation, tvb, offset, 64, pIMAnnotation); offset += 64; /* c8[64] IM Order ID */ pIMOrderID = (char *)wmem_alloc(wmem_packet_scope(), 64+1); tvb_memcpy(tvb, (guint8 *) pIMOrderID, offset, 64); pIMOrderID[64] = '\0'; proto_tree_add_string(tree, hf_pn_io_im_order_id, tvb, offset, 64, pIMOrderID); offset += 64; /* x8 VendorIDHigh */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_high, &u8VendorIDHigh); /* x8 VendorIDLow */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_low, &u8VendorIDLow); /* c8[16] IM Serial Number */ pIMSerialNumber = (char *)wmem_alloc(wmem_packet_scope(), 16+1); tvb_memcpy(tvb, (guint8 *) pIMSerialNumber, offset, 16); pIMSerialNumber[16] = '\0'; proto_tree_add_string(tree, hf_pn_io_im_serial_number, tvb, offset, 16, pIMSerialNumber); offset += 16; /* x16 IM_Hardware_Revision */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_im_hardware_revision, &u16IMHardwareRevision); /* c8 SWRevisionPrefix */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_revision_prefix, &u8SWRevisionPrefix); /* x8 IM_SWRevision_Functional_Enhancement */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_sw_revision_functional_enhancement, &u8IMSWRevisionFunctionalEnhancement); /* x8 IM_SWRevision_Bug_Fix */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_revision_bugfix, &u8IMSWRevisionBugFix); /* x8 IM_SWRevision_Internal_Change */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_im_sw_revision_internal_change, &u8IMSWRevisionInternalChange); return offset; } /* dissect the IdentificationData block */ static int dissect_IdentificationData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfAPIs = 1; guint32 u32Api; guint16 u16NumberOfSlots; guint16 u16SlotNr; guint32 u32ModuleIdentNumber; guint16 u16NumberOfSubslots; guint32 u32SubmoduleIdentNumber; guint16 u16SubslotNr; proto_item *slot_item; proto_tree *slot_tree; guint32 u32SlotStart; proto_item *subslot_item; proto_tree *subslot_tree; if (u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow == 1) { /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); } proto_item_append_text(item, ": APIs:%u", u16NumberOfAPIs); while (u16NumberOfAPIs--) { if (u8BlockVersionLow == 1) { /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); } /* NumberOfSlots */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_slots, &u16NumberOfSlots); proto_item_append_text(item, ", Slots:%u", u16NumberOfSlots); while (u16NumberOfSlots--) { slot_item = proto_tree_add_item(tree, hf_pn_io_slot, tvb, offset, 0, ENC_NA); slot_tree = proto_item_add_subtree(slot_item, ett_pn_io_slot); u32SlotStart = offset; /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, slot_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* ModuleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, slot_tree, drep, hf_pn_io_module_ident_number, &u32ModuleIdentNumber); /* NumberOfSubslots */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, slot_tree, drep, hf_pn_io_number_of_subslots, &u16NumberOfSubslots); proto_item_append_text(slot_item, ": SlotNr:%u Ident:0x%x Subslots:%u", u16SlotNr, u32ModuleIdentNumber, u16NumberOfSubslots); while (u16NumberOfSubslots--) { subslot_item = proto_tree_add_item(slot_tree, hf_pn_io_subslot, tvb, offset, 6, ENC_NA); subslot_tree = proto_item_add_subtree(subslot_item, ett_pn_io_subslot); /* SubslotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, subslot_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* SubmoduleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, subslot_tree, drep, hf_pn_io_submodule_ident_number, &u32SubmoduleIdentNumber); proto_item_append_text(subslot_item, ": Number:0x%x, Ident:0x%x", u16SubslotNr, u32SubmoduleIdentNumber); } proto_item_set_len(slot_item, offset-u32SlotStart); } } return offset; } /* dissect the substitute value block */ static int dissect_SubstituteValue_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint16 u16SubstitutionMode; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* SubstitutionMode */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_substitutionmode, &u16SubstitutionMode); /* SubstituteDataItem */ /* IOCS */ offset = dissect_PNIO_IOxS(tvb, offset, pinfo, tree, drep, hf_pn_io_iocs); u16BodyLength -= 3; /* SubstituteDataObjectElement */ dissect_pn_user_data_bytes(tvb, offset, pinfo, tree, u16BodyLength, SUBST_DATA); return offset; } /* dissect the RecordInputDataObjectElement block */ static int dissect_RecordInputDataObjectElement_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint8 u8LengthIOCS; guint8 u8LengthIOPS; guint16 u16LengthData; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* LengthIOCS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_iocs, &u8LengthIOCS); /* IOCS */ offset = dissect_PNIO_IOxS(tvb, offset, pinfo, tree, drep, hf_pn_io_iocs); /* LengthIOPS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_iops, &u8LengthIOPS); /* IOPS */ offset = dissect_PNIO_IOxS(tvb, offset, pinfo, tree, drep, hf_pn_io_iops); /* LengthData */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_length_data, &u16LengthData); /* Data */ offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u16LengthData, "Data"); return offset; } /* dissect the RecordOutputDataObjectElement block */ static int dissect_RecordOutputDataObjectElement_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16SubstituteActiveFlag; guint8 u8LengthIOCS; guint8 u8LengthIOPS; guint16 u16LengthData; guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* SubstituteActiveFlag */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_substitute_active_flag, &u16SubstituteActiveFlag); /* LengthIOCS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_iocs, &u8LengthIOCS); /* LengthIOPS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_iops, &u8LengthIOPS); /* LengthData */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_length_data, &u16LengthData); /* DataItem (IOCS, Data, IOPS) */ offset = dissect_PNIO_IOxS(tvb, offset, pinfo, tree, drep, hf_pn_io_iocs); offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u16LengthData, "Data"); offset = dissect_PNIO_IOxS(tvb, offset, pinfo, tree, drep, hf_pn_io_iops); /* SubstituteValue */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); return offset; } /* dissect the alarm acknowledge block */ static int dissect_Alarm_ack_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } col_append_str(pinfo->cinfo, COL_INFO, ", Alarm Ack"); offset = dissect_Alarm_header(tvb, offset, pinfo, tree, item, drep); offset = dissect_Alarm_specifier(tvb, offset, pinfo, tree, drep); offset = dissect_PNIO_status(tvb, offset, pinfo, tree, drep); return offset; } /* dissect the maintenance block */ static int dissect_Maintenance_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { proto_item *sub_item; proto_tree *sub_tree; guint32 u32MaintenanceStatus; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); sub_item = proto_tree_add_item(tree, hf_pn_io_maintenance_status, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_maintenance_status); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_maintenance_status_demanded, &u32MaintenanceStatus); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_maintenance_status_required, &u32MaintenanceStatus); if (u32MaintenanceStatus & 0x0002) { proto_item_append_text(item, ", Demanded"); proto_item_append_text(sub_item, ", Demanded"); } if (u32MaintenanceStatus & 0x0001) { proto_item_append_text(item, ", Required"); proto_item_append_text(sub_item, ", Required"); } return offset; } /* dissect the read/write header */ static int dissect_ReadWrite_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint16 *u16Index, e_guid_t *aruuid) { guint32 u32Api; guint16 u16SlotNr; guint16 u16SubslotNr; guint16 u16SeqNr; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_seq_number, &u16SeqNr); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, aruuid); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* padding doesn't match offset required for align4 */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_index, u16Index); proto_item_append_text(item, ": Seq:%u, Api:0x%x, Slot:0x%x/0x%x", u16SeqNr, u32Api, u16SlotNr, u16SubslotNr); col_append_fstr(pinfo->cinfo, COL_INFO, ", Api:0x%x, Slot:0x%x/0x%x, Index:%s", u32Api, u16SlotNr, u16SubslotNr, val_to_str(*u16Index, pn_io_index, "(0x%x)")); return offset; } /* dissect the write request block */ static int dissect_IODWriteReqHeader_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t ** ar) { e_guid_t aruuid; e_guid_t null_uuid; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_ReadWrite_header(tvb, offset, pinfo, tree, item, drep, u16Index, &aruuid); *ar = pnio_ar_find_by_aruuid(pinfo, &aruuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IODWriteReq: AR information not found!"); } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_record_data_length, u32RecDataLen); memset(&null_uuid, 0, sizeof(e_guid_t)); if (memcmp(&aruuid, &null_uuid, sizeof (e_guid_t)) == 0) { offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_target_ar_uuid, &aruuid); } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 24); proto_item_append_text(item, ", Len:%u", *u32RecDataLen); if (*u32RecDataLen != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", %u bytes", *u32RecDataLen); return offset; } /* dissect the read request block */ static int dissect_IODReadReqHeader_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar) { e_guid_t aruuid; e_guid_t null_uuid; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_ReadWrite_header(tvb, offset, pinfo, tree, item, drep, u16Index, &aruuid); *ar = pnio_ar_find_by_aruuid(pinfo, &aruuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IODReadReq: AR information not found!"); } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_record_data_length, u32RecDataLen); memset(&null_uuid, 0, sizeof(e_guid_t)); if (memcmp(&aruuid, &null_uuid, sizeof (e_guid_t)) == 0) { offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_target_ar_uuid, &aruuid); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 8); } else { offset = dissect_pn_padding(tvb, offset, pinfo, tree, 24); } proto_item_append_text(item, ", Len:%u", *u32RecDataLen); if (*u32RecDataLen != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", %u bytes", *u32RecDataLen); return offset; } /* dissect the write response block */ static int dissect_IODWriteResHeader_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar) { e_guid_t aruuid; guint16 u16AddVal1; guint16 u16AddVal2; guint32 u32Status; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_ReadWrite_header(tvb, offset, pinfo, tree, item, drep, u16Index, &aruuid); *ar = pnio_ar_find_by_aruuid(pinfo, &aruuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IODWriteRes: AR information not found!"); } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_record_data_length, u32RecDataLen); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_add_val1, &u16AddVal1); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_add_val2, &u16AddVal2); u32Status = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohl (tvb, offset) : tvb_get_ntohl (tvb, offset)); offset = dissect_PNIO_status(tvb, offset, pinfo, tree, drep); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 16); proto_item_append_text(item, ", Len:%u, Index:0x%x, Status:0x%x, Val1:%u, Val2:%u", *u32RecDataLen, *u16Index, u32Status, u16AddVal1, u16AddVal2); if (*u32RecDataLen != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", %u bytes", *u32RecDataLen); return offset; } /* dissect the read response block */ static int dissect_IODReadResHeader_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar) { e_guid_t aruuid; guint16 u16AddVal1; guint16 u16AddVal2; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_ReadWrite_header(tvb, offset, pinfo, tree, item, drep, u16Index, &aruuid); *ar = pnio_ar_find_by_aruuid(pinfo, &aruuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IODReadRes: AR information not found!"); } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_record_data_length, u32RecDataLen); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_add_val1, &u16AddVal1); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_add_val2, &u16AddVal2); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 20); proto_item_append_text(item, ", Len:%u, AddVal1:%u, AddVal2:%u", *u32RecDataLen, u16AddVal1, u16AddVal2); if (*u32RecDataLen != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", %u bytes", *u32RecDataLen); return offset; } /* dissect the control/connect block */ static int dissect_ControlConnect_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t **ar) { e_guid_t ar_uuid; guint16 u16SessionKey; proto_item *sub_item; proto_tree *sub_tree; guint16 u16Command; guint16 u16Properties; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved16, NULL); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, &ar_uuid); *ar = pnio_ar_find_by_aruuid(pinfo, &ar_uuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "ControlConnect: AR information not found!"); } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sessionkey, &u16SessionKey); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved16, NULL); sub_item = proto_tree_add_item(tree, hf_pn_io_control_command, tvb, offset, 2, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_control_command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_prmend, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_applready, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_release, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_done, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_ready_for_companion, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_ready_for_rt_class3, &u16Command); /* Prm.Begin */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_prmbegin, &u16Command); if (u16Command & 0x0002) { /* ApplicationReady: special decode */ sub_item = proto_tree_add_item(tree, hf_pn_io_control_block_properties_applready, tvb, offset, 2, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_control_block_properties); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_block_properties_applready0, &u16Properties); } else { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_control_block_properties, &u16Properties); } proto_item_append_text(item, ": Session:%u, Command:", u16SessionKey); if (u16Command & 0x0001) { proto_item_append_text(sub_item, ", ParameterEnd"); proto_item_append_text(item, " ParameterEnd"); col_append_str(pinfo->cinfo, COL_INFO, ", Command: ParameterEnd"); } if (u16Command & 0x0002) { proto_item_append_text(sub_item, ", ApplicationReady"); proto_item_append_text(item, " ApplicationReady"); col_append_str(pinfo->cinfo, COL_INFO, ", Command: ApplicationReady"); } if (u16Command & 0x0004) { proto_item_append_text(sub_item, ", Release"); proto_item_append_text(item, " Release"); col_append_str(pinfo->cinfo, COL_INFO, ", Command: Release"); } if (u16Command & 0x0008) { proto_item_append_text(sub_item, ", Done"); proto_item_append_text(item, ", Done"); col_append_str(pinfo->cinfo, COL_INFO, ", Command: Done"); } proto_item_append_text(item, ", Properties:0x%x", u16Properties); return offset; } /* dissect the ControlBlockPrmBegin block */ static int dissect_ControlBlockPrmBegin(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint32 u32RecDataLen, pnio_ar_t **ar) { e_guid_t ar_uuid; guint16 u16SessionKey; guint16 u16Command; proto_item *sub_item; proto_tree *sub_tree; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u32RecDataLen != 28-2) /* must be 28 see specification (version already dissected) */ { expert_add_info_format(pinfo, item, &ei_pn_io_block_length, "Block length of %u is invalid!", u32RecDataLen); return offset; } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); /* ARUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, &ar_uuid); *ar = pnio_ar_find_by_aruuid(pinfo, &ar_uuid); if (*ar == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "ControlBlockPrmBegin: AR information not found! (partial capture?)"); } /* SessionKey */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sessionkey, &u16SessionKey); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); /* ControlCommand */ sub_item = proto_tree_add_item(tree, hf_pn_io_control_command, tvb, offset, 2, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_control_command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_prmend, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_applready, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_release, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_done, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_ready_for_companion, &u16Command); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_ready_for_rt_class3, &u16Command); /* Prm.Begin */ dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_prmbegin, &u16Command); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_control_command_reserved_7_15, &u16Command); /* ControlBlockProperties.reserved */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_control_command_reserved, NULL); return offset; } /* dissect the SubmoduleListBlock block */ static int dissect_SubmoduleListBlock(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint32 u32RecDataLen _U_, pnio_ar_t **ar _U_) { guint16 u16Entries; guint32 u32API; guint16 u16SlotNumber; guint16 u16SubSlotNumber; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_SubmoduleListEntries, &u16Entries); while (u16Entries --) { /*API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32API); /*SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNumber); /* SubSlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubSlotNumber); } return offset; } /* dissect the PDevData block */ static int dissect_PDevData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); offset = dissect_blocks(tvb, offset, pinfo, tree, drep); return offset; } /* dissect the AdjustPreambleLength block */ static int dissect_AdjustPreambleLength_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16AdjustProperties; guint16 u16PreambleLength; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* PreambleLength */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_PreambleLength, &u16PreambleLength); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); return offset; } /* dissect the PDPortDataAdjust block */ static int dissect_PDPortData_Adjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint16 u16SlotNr; guint16 u16SubslotNr; tvbuff_t *new_tvb; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); proto_item_append_text(item, ": Slot:0x%x/0x%x", u16SlotNr, u16SubslotNr); u16BodyLength -= 6; new_tvb = tvb_new_subset_length(tvb, offset, u16BodyLength); dissect_blocks(new_tvb, 0, pinfo, tree, drep); offset += u16BodyLength; /* XXX - do we have to free the new_tvb somehow? */ return offset; } /* dissect the PDPortDataCheck blocks */ static int dissect_PDPortData_Check_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint16 u16SlotNr; guint16 u16SubslotNr; tvbuff_t *new_tvb; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); proto_item_append_text(item, ": Slot:0x%x/0x%x", u16SlotNr, u16SubslotNr); u16BodyLength -= 6; new_tvb = tvb_new_subset_length(tvb, offset, u16BodyLength); dissect_blocks(new_tvb, 0, pinfo, tree, drep); offset += u16BodyLength; /* XXX - do we have to free the new_tvb somehow? */ return offset; } /* dissect the PDPortDataReal blocks */ static int dissect_PDPortDataReal_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16SlotNr; guint16 u16SubslotNr; guint8 u8LengthOwnPortID; char *pOwnPortID; guint8 u8NumberOfPeers; guint8 u8I; guint8 u8LengthPeerPortID; char *pPeerPortID; guint8 u8LengthPeerChassisID; char *pPeerChassisID; guint32 u32LineDelay; guint8 mac[6]; guint16 u16MAUType; guint32 u32DomainBoundary; guint32 u32MulticastBoundary; guint16 u16PortState; guint32 u32MediaType; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* LengthOwnPortID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_own_port_id, &u8LengthOwnPortID); /* OwnPortID */ pOwnPortID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthOwnPortID+1); tvb_memcpy(tvb, (guint8 *) pOwnPortID, offset, u8LengthOwnPortID); pOwnPortID[u8LengthOwnPortID] = '\0'; proto_tree_add_string (tree, hf_pn_io_own_port_id, tvb, offset, u8LengthOwnPortID, pOwnPortID); offset += u8LengthOwnPortID; /* NumberOfPeers */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_peers, &u8NumberOfPeers); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); u8I = u8NumberOfPeers; while (u8I--) { /* LengthPeerPortID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_peer_port_id, &u8LengthPeerPortID); /* PeerPortID */ pPeerPortID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthPeerPortID+1); tvb_memcpy(tvb, (guint8 *) pPeerPortID, offset, u8LengthPeerPortID); pPeerPortID[u8LengthPeerPortID] = '\0'; proto_tree_add_string (tree, hf_pn_io_peer_port_id, tvb, offset, u8LengthPeerPortID, pPeerPortID); offset += u8LengthPeerPortID; /* LengthPeerChassisID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_peer_chassis_id, &u8LengthPeerChassisID); /* PeerChassisID */ pPeerChassisID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthPeerChassisID+1); tvb_memcpy(tvb, (guint8 *) pPeerChassisID, offset, u8LengthPeerChassisID); pPeerChassisID[u8LengthPeerChassisID] = '\0'; proto_tree_add_string (tree, hf_pn_io_peer_chassis_id, tvb, offset, u8LengthPeerChassisID, pPeerChassisID); offset += u8LengthPeerChassisID; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* LineDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_line_delay, &u32LineDelay); /* PeerMACAddress */ offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_peer_macadd, mac); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); } /* MAUType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mau_type, &u16MAUType); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* DomainBoundary */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_domain_boundary, &u32DomainBoundary); /* MulticastBoundary */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_multicast_boundary, &u32MulticastBoundary); /* PortState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_port_state, &u16PortState); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MediaType */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_media_type, &u32MediaType); proto_item_append_text(item, ": Slot:0x%x/0x%x, OwnPortID:%s, Peers:%u PortState:%s MediaType:%s", u16SlotNr, u16SubslotNr, pOwnPortID, u8NumberOfPeers, val_to_str(u16PortState, pn_io_port_state, "0x%x"), val_to_str(u32MediaType, pn_io_media_type, "0x%x")); return offset; } static int dissect_PDInterfaceMrpDataAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { e_guid_t uuid; guint16 u16Role; guint8 u8LengthDomainName; guint8 u8NumberOfMrpInstances; char *pDomainName; int iStartOffset = offset; if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 1) { /* added low version == 1 */ expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow == 0) /*dissect LowVersion == 0 */ { offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Role */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_role, &u16Role); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_LengthDomainName */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_length_domain_name, &u8LengthDomainName); /* MRP_DomainName */ pDomainName = (char *)wmem_alloc(wmem_packet_scope(), u8LengthDomainName+1); tvb_memcpy(tvb, (guint8 *) pDomainName, offset, u8LengthDomainName); pDomainName[u8LengthDomainName] = '\0'; proto_tree_add_string (tree, hf_pn_io_mrp_domain_name, tvb, offset, u8LengthDomainName, pDomainName); offset += u8LengthDomainName; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); if ((offset - iStartOffset) < u16BodyLength) { offset = dissect_blocks(tvb, offset, pinfo, tree, drep); } } else if (u8BlockVersionLow == 1) /*dissect LowVersion == 1 */ { /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Number of Mrp Instances */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instances, &u8NumberOfMrpInstances); if (u8NumberOfMrpInstances > 0xf) { expert_add_info_format(pinfo, item, &ei_pn_io_mrp_instances, "Number of MrpInstances greater 0x0f is (0x%x)", u8NumberOfMrpInstances); return offset; } while(u8NumberOfMrpInstances > 0) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); u8NumberOfMrpInstances--; } } return offset; } static int dissect_PDInterfaceMrpDataReal_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { e_guid_t uuid; guint16 u16Role; guint16 u16Version; guint8 u8LengthDomainName; guint8 u8NumberOfMrpInstances; char *pDomainName; int endoffset = offset + u16BodyLength; /* added blockversion 1 */ if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 2) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow < 2) /* dissect low versions 0 and 1 */ { /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Role */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_role, &u16Role); if (u8BlockVersionLow == 1) { /* MRP_Version */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_version, &u16Version); } /* MRP_LengthDomainName */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_length_domain_name, &u8LengthDomainName); /* MRP_DomainName */ pDomainName = (char *)wmem_alloc(wmem_packet_scope(), u8LengthDomainName+1); tvb_memcpy(tvb, (guint8 *) pDomainName, offset, u8LengthDomainName); pDomainName[u8LengthDomainName] = '\0'; proto_tree_add_string (tree, hf_pn_io_mrp_domain_name, tvb, offset, u8LengthDomainName, pDomainName); offset += u8LengthDomainName; if (u8BlockVersionLow == 0) { /* MRP_Version */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_version, &u16Version); } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); while(endoffset > offset) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); } } else if (u8BlockVersionLow == 2) { /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Number of Mrp Instances */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instances, &u8NumberOfMrpInstances); if (u8NumberOfMrpInstances > 0xf) { expert_add_info_format(pinfo, item, &ei_pn_io_mrp_instances, "Number of MrpInstances greater 0x0f is (0x%x)", u8NumberOfMrpInstances); return offset; } while(u8NumberOfMrpInstances > 0) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); u8NumberOfMrpInstances--; } } return offset; } static int dissect_PDInterfaceMrpDataCheck_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { e_guid_t uuid; guint32 u32Check; guint8 u8NumberOfMrpInstances; /* BlockVersionLow == 1 added */ if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 1) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow == 0) { offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Check */ dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_mrm, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_mrpdomain, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_reserved_1, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_reserved_2, &u32Check); offset +=4; /* MRP_Check (32 bit) done */ } else if (u8BlockVersionLow == 1) { /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Number of Mrp Instances */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instances, &u8NumberOfMrpInstances); if (u8NumberOfMrpInstances > 0xf) { expert_add_info_format(pinfo, item, &ei_pn_io_mrp_instances, "Number of MrpInstances greater 0x0f is (0x%x)", u8NumberOfMrpInstances); return offset; } while(u8NumberOfMrpInstances > 0) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); u8NumberOfMrpInstances--; } } return offset; } static int dissect_PDPortMrpData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { e_guid_t uuid; guint8 u8MrpInstance; /* added BlockVersionLow == 1 */ if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 1) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow == 0) { offset = dissect_pn_align4(tvb, offset, pinfo, tree); } else /*if (u8BlockVersionLow == 1) */ { /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Mrp Instance */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instance, &u8MrpInstance); } /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); return offset; } static int dissect_MrpManagerParams_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16Prio; guint16 u16TOPchgT; guint16 u16TOPNRmax; guint16 u16TSTshortT; guint16 u16TSTdefaultT; guint16 u16TSTNRmax; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MRP_Prio */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_prio, &u16Prio); /* MRP_TOPchgT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_topchgt, &u16TOPchgT); /* MRP_TOPNRmax */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_topnrmax, &u16TOPNRmax); /* MRP_TSTshortT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_tstshortt, &u16TSTshortT); /* MRP_TSTdefaultT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_tstdefaultt, &u16TSTdefaultT); /* MSP_TSTNRmax */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_tstnrmax, &u16TSTNRmax); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); return offset; } static int dissect_MrpRTMode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep) { proto_item *sub_item; proto_tree *sub_tree; guint32 u32RTMode; /* MRP_RTMode */ sub_item = proto_tree_add_item(tree, hf_pn_io_mrp_rtmode, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_mrp_rtmode); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_mrp_rtmode_reserved2, &u32RTMode); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_mrp_rtmode_reserved1, &u32RTMode); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_mrp_rtmode_rtclass3, &u32RTMode); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_mrp_rtmode_rtclass12, &u32RTMode); return offset; } static int dissect_MrpRTModeManagerData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16TSTNRmax; guint16 u16TSTdefaultT; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MSP_TSTNRmax */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_tstnrmax, &u16TSTNRmax); /* MRP_TSTdefaultT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_tstdefaultt, &u16TSTdefaultT); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_RTMode */ offset = dissect_MrpRTMode(tvb, offset, pinfo, tree, item, drep); return offset; } static int dissect_MrpRingStateData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16RingState; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MRP_RingState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_ring_state, &u16RingState); return offset; } static int dissect_MrpRTStateData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16RTState; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MRP_RTState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_rt_state, &u16RTState); return offset; } static int dissect_MrpClientParams_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16MRP_LNKdownT; guint16 u16MRP_LNKupT; guint16 u16MRP_LNKNRmax; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MRP_LNKdownT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_lnkdownt, &u16MRP_LNKdownT); /* MRP_LNKupT */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_lnkupt, &u16MRP_LNKupT); /* MRP_LNKNRmax u16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_lnknrmax, &u16MRP_LNKNRmax); return offset; } static int dissect_MrpRTModeClientData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { offset = dissect_pn_align4(tvb, offset, pinfo, tree); if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MRP_RTMode */ offset = dissect_MrpRTMode(tvb, offset, pinfo, tree, item, drep); return offset; } static int dissect_CheckSyncDifference_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { proto_item *sub_item; proto_tree *sub_tree; guint16 u16CheckSyncMode; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } sub_item = proto_tree_add_item(tree, hf_pn_io_check_sync_mode, tvb, offset, 2, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_check_sync_mode); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_check_sync_mode_reserved, &u16CheckSyncMode); dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_check_sync_mode_sync_master, &u16CheckSyncMode); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_check_sync_mode_cable_delay, &u16CheckSyncMode); proto_item_append_text(sub_item, "CheckSyncMode: SyncMaster:%d, CableDelay:%d", (u16CheckSyncMode >> 1) & 1, u16CheckSyncMode & 1); proto_item_append_text(item, " : SyncMaster:%d, CableDelay:%d", (u16CheckSyncMode >> 1) & 1, u16CheckSyncMode & 1); return offset; } static int dissect_CheckMAUTypeDifference_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16MAUTypeMode; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mau_type_mode, &u16MAUTypeMode); proto_item_append_text(item, ": MAUTypeMode:%s", val_to_str(u16MAUTypeMode, pn_io_mau_type_mode, "0x%x")); return offset; } /* dissect the AdjustDomainBoundary blocks */ static int dissect_AdjustDomainBoundary_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32DomainBoundary; guint32 u32DomainBoundaryIngress; guint32 u32DomainBoundaryEgress; guint16 u16AdjustProperties; if (u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); switch (u8BlockVersionLow) { case(0): /* DomainBoundary */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_domain_boundary, &u32DomainBoundary); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); proto_item_append_text(item, ": Boundary:0x%x, Properties:0x%x", u32DomainBoundary, u16AdjustProperties); break; case(1): /* DomainBoundaryIngress */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_domain_boundary_ingress, &u32DomainBoundaryIngress); /* DomainBoundaryEgress */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_domain_boundary_egress, &u32DomainBoundaryEgress); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); proto_item_append_text(item, ": BoundaryIngress:0x%x, BoundaryEgress:0x%x, Properties:0x%x", u32DomainBoundaryIngress, u32DomainBoundaryEgress, u16AdjustProperties); break; default: expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } return offset; } /* dissect the AdjustMulticastBoundary blocks */ static int dissect_AdjustMulticastBoundary_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32MulticastBoundary; guint16 u16AdjustProperties; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* Boundary */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_multicast_boundary, &u32MulticastBoundary); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); proto_item_append_text(item, ": Boundary:0x%x, Properties:0x%x", u32MulticastBoundary, u16AdjustProperties); return offset; } /* dissect the AdjustMAUType block */ static int dissect_AdjustMAUType_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16MAUType; guint16 u16AdjustProperties; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MAUType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mau_type, &u16MAUType); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); proto_item_append_text(item, ": MAUType:%s, Properties:0x%x", val_to_str(u16MAUType, pn_io_mau_type, "0x%x"), u16AdjustProperties); return offset; } /* dissect the CheckMAUType block */ static int dissect_CheckMAUType_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16MAUType; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* MAUType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mau_type, &u16MAUType); proto_item_append_text(item, ": MAUType:%s", val_to_str(u16MAUType, pn_io_mau_type, "0x%x")); return offset; } /* dissect the CheckLineDelay block */ static int dissect_CheckLineDelay_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32LineDelay; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* LineDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_line_delay, &u32LineDelay); proto_item_append_text(item, ": LineDelay:%uns", u32LineDelay); return offset; } /* dissect the CheckPeers block */ static int dissect_CheckPeers_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint8 u8NumberOfPeers; guint8 u8I; guint8 u8LengthPeerPortID; char *pPeerPortID; guint8 u8LengthPeerChassisID; char *pPeerChassisID; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* NumberOfPeers */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_peers, &u8NumberOfPeers); u8I = u8NumberOfPeers; while (u8I--) { /* LengthPeerPortID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_peer_port_id, &u8LengthPeerPortID); /* PeerPortID */ pPeerPortID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthPeerPortID+1); tvb_memcpy(tvb, (guint8 *) pPeerPortID, offset, u8LengthPeerPortID); pPeerPortID[u8LengthPeerPortID] = '\0'; proto_tree_add_string (tree, hf_pn_io_peer_port_id, tvb, offset, u8LengthPeerPortID, pPeerPortID); offset += u8LengthPeerPortID; /* LengthPeerChassisID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_peer_chassis_id, &u8LengthPeerChassisID); /* PeerChassisID */ pPeerChassisID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthPeerChassisID+1); tvb_memcpy(tvb, (guint8 *) pPeerChassisID, offset, u8LengthPeerChassisID); pPeerChassisID[u8LengthPeerChassisID] = '\0'; proto_tree_add_string (tree, hf_pn_io_peer_chassis_id, tvb, offset, u8LengthPeerChassisID, pPeerChassisID); offset += u8LengthPeerChassisID; } proto_item_append_text(item, ": NumberOfPeers:%u", u8NumberOfPeers); return offset; } /* dissect the AdjustPortState block */ static int dissect_AdjustPortState_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16PortState; guint16 u16AdjustProperties; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* PortState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_port_state, &u16PortState); /* AdjustProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_adjust_properties, &u16AdjustProperties); proto_item_append_text(item, ": PortState:%s, Properties:0x%x", val_to_str(u16PortState, pn_io_port_state, "0x%x"), u16AdjustProperties); return offset; } /* dissect the CheckPortState block */ static int dissect_CheckPortState_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16PortState; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* PortState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_port_state, &u16PortState); proto_item_append_text(item, ": %s", val_to_str(u16PortState, pn_io_port_state, "0x%x")); return offset; } /* dissect the PDPortFODataReal block */ static int dissect_PDPortFODataReal_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint32 u32FiberOpticType; guint32 u32FiberOpticCableType; guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* FiberOpticType */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fiber_optic_type, &u32FiberOpticType); /* FiberOpticCableType */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fiber_optic_cable_type, &u32FiberOpticCableType); /* optional: FiberOpticManufacturerSpecific */ if (u16BodyLength != 10) { dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); } return offset; } /* dissect the FiberOpticManufacturerSpecific block */ static int dissect_FiberOpticManufacturerSpecific_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint8 u8VendorIDHigh; guint8 u8VendorIDLow; guint16 u16VendorBlockType; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* x8 VendorIDHigh */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_high, &u8VendorIDHigh); /* x8 VendorIDLow */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_id_low, &u8VendorIDLow); /* VendorBlockType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_vendor_block_type, &u16VendorBlockType); /* Data */ offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u16BodyLength-4, "Data"); return offset; } /* dissect the FiberOpticDiagnosisInfo block */ static int dissect_FiberOpticDiagnosisInfo_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32FiberOpticPowerBudget; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); /* decode the u32FiberOpticPowerBudget better */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_maintenance_required_power_budget, &u32FiberOpticPowerBudget); return offset; } /* dissect the PDPortFODataAdjust block */ static int dissect_PDPortFODataAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32FiberOpticType; guint32 u32FiberOpticCableType; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* FiberOpticType */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fiber_optic_type, &u32FiberOpticType); /* FiberOpticCableType */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fiber_optic_cable_type, &u32FiberOpticCableType); /* proto_item_append_text(item, ": %s", val_to_str(u16PortState, pn_io_port_state, "0x%x"));*/ return offset; } /* dissect the PDPortFODataCheck block */ static int dissect_PDPortFODataCheck_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32FiberOpticPowerBudget; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MaintenanceRequiredPowerBudget */ /* XXX - decode the u32FiberOpticPowerBudget better */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_maintenance_required_power_budget, &u32FiberOpticPowerBudget); /* MaintenanceDemandedPowerBudget */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_maintenance_demanded_power_budget, &u32FiberOpticPowerBudget); /* ErrorPowerBudget */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_error_power_budget, &u32FiberOpticPowerBudget); /* proto_item_append_text(item, ": %s", val_to_str(u16PortState, pn_io_port_state, "0x%x"));*/ return offset; } static int dissect_MrpInstanceDataAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint8 u8MrpInstance; e_guid_t uuid; guint16 u16Role; guint8 u8LengthDomainName; char* pDomainName; int endoffset = offset + u16BodyLength; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Mrp Instance */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instance, &u8MrpInstance); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Role */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_role, &u16Role); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MRP_LengthDomainName */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_length_domain_name, &u8LengthDomainName); /* MRP_DomainName */ pDomainName = (char *)wmem_alloc(wmem_packet_scope(), u8LengthDomainName+1); tvb_memcpy(tvb, (guint8 *) pDomainName, offset, u8LengthDomainName); pDomainName[u8LengthDomainName] = '\0'; proto_tree_add_string (tree, hf_pn_io_mrp_domain_name, tvb, offset, u8LengthDomainName, pDomainName); offset += u8LengthDomainName; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); while(endoffset > offset) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); } return offset; } static int dissect_MrpInstanceDataReal_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint8 u8MrpInstance; e_guid_t uuid; guint16 u16Role; guint16 u16Version; guint8 u8LengthDomainName; char* pDomainName; int endoffset = offset + u16BodyLength; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Mrp Instance */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instance, &u8MrpInstance); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Role */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_role, &u16Role); /* MRP_Version */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_version, &u16Version); /* MRP_LengthDomainName */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_length_domain_name, &u8LengthDomainName); /* MRP_DomainName */ pDomainName = (char *)wmem_alloc(wmem_packet_scope(), u8LengthDomainName+1); tvb_memcpy(tvb, (guint8 *) pDomainName, offset, u8LengthDomainName); pDomainName[u8LengthDomainName] = '\0'; proto_tree_add_string (tree, hf_pn_io_mrp_domain_name, tvb, offset, u8LengthDomainName, pDomainName); offset += u8LengthDomainName; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); while(endoffset > offset) { offset = dissect_a_block(tvb, offset, pinfo, tree, drep); } return offset; } static int dissect_MrpInstanceDataCheck_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength _U_) { guint8 u8MrpInstance; guint32 u32Check; e_guid_t uuid; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding one byte */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 1); /* Mrp Instance */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_instance, &u8MrpInstance); /* MRP_DomainUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_domain_uuid, &uuid); /* MRP_Check */ dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_mrm, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_mrpdomain, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_reserved_1, &u32Check); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_mrp_check_reserved_2, &u32Check); offset +=4; /* MRP_Check (32 bit) done */ return offset; } /* PDInterfaceAdjust */ static int dissect_PDInterfaceAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32SMultipleInterfaceMode; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MultipleInterfaceMode */ dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_MultipleInterfaceMode_NameOfDevice, &u32SMultipleInterfaceMode); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_MultipleInterfaceMode_reserved_1, &u32SMultipleInterfaceMode); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_MultipleInterfaceMode_reserved_2, &u32SMultipleInterfaceMode); return offset; } /* PDPortStatistic for one subslot */ static int dissect_PDPortStatistic_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32StatValue; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifInOctets, &u32StatValue); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifOutOctets, &u32StatValue); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifInDiscards, &u32StatValue); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifOutDiscards, &u32StatValue); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifInErrors, &u32StatValue); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pdportstatistic_ifOutErrors, &u32StatValue); return offset; } /* dissect the PDInterfaceDataReal block */ static int dissect_PDInterfaceDataReal_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint8 u8LengthOwnChassisID; char *pOwnChassisID; guint8 mac[6]; guint32 ip; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* LengthOwnChassisID */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_length_own_chassis_id, &u8LengthOwnChassisID); /* OwnChassisID */ pOwnChassisID = (char *)wmem_alloc(wmem_packet_scope(), u8LengthOwnChassisID+1); tvb_memcpy(tvb, (guint8 *) pOwnChassisID, offset, u8LengthOwnChassisID); pOwnChassisID[u8LengthOwnChassisID] = '\0'; proto_tree_add_string (tree, hf_pn_io_own_chassis_id, tvb, offset, u8LengthOwnChassisID, pOwnChassisID); offset += u8LengthOwnChassisID; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* MACAddressValue */ offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_macadd, mac); /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* IPAddress */ offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_io_ip_address, &ip); /*proto_item_append_text(block_item, ", IP: %s", ip_to_str((guint8*)&ip));*/ /* Subnetmask */ offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_io_subnetmask, &ip); /*proto_item_append_text(block_item, ", Subnet: %s", ip_to_str((guint8*)&ip));*/ /* StandardGateway */ offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_io_standard_gateway, &ip); /*proto_item_append_text(block_item, ", Router: %s", ip_to_str((guint8*)&ip));*/ return offset; } /* dissect the PDSyncData block */ static int dissect_PDSyncData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16SlotNr; guint16 u16SubslotNr; e_guid_t uuid; guint32 u32ReservedIntervalBegin; guint32 u32ReservedIntervalEnd; guint32 u32PLLWindow; guint32 u32SyncSendFactor; guint16 u16SendClockFactor; guint16 u16SyncProperties; guint16 u16SyncFrameAddress; guint16 u16PTCPTimeoutFactor; guint16 u16PTCPTakeoverTimeoutFactor; guint16 u16PTCPMasterStartupTime; guint8 u8MasterPriority1; guint8 u8MasterPriority2; guint8 u8LengthSubdomainName; char *pSubdomainName; if (u8BlockVersionHigh != 1) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); switch (u8BlockVersionLow) { case(0): /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* PTCPSubdomainID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_subdomain_id, &uuid); /* IRDataID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ir_data_id, &uuid); /* ReservedIntervalBegin */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved_interval_begin, &u32ReservedIntervalBegin); /* ReservedIntervalEnd */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved_interval_end, &u32ReservedIntervalEnd); /* PLLWindow enum */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pllwindow, &u32PLLWindow); /* SyncSendFactor 32 enum */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sync_send_factor, &u32SyncSendFactor); /* SendClockFactor 16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_send_clock_factor, &u16SendClockFactor); /* SyncProperties 16 bitfield */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sync_properties, &u16SyncProperties); /* SyncFrameAddress 16 bitfield */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sync_frame_address, &u16SyncFrameAddress); /* PTCPTimeoutFactor 16 enum */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_timeout_factor, &u16PTCPTimeoutFactor); proto_item_append_text(item, ": Slot:0x%x/0x%x, Interval:%u-%u, PLLWin:%u, Send:%u, Clock:%u", u16SlotNr, u16SubslotNr, u32ReservedIntervalBegin, u32ReservedIntervalEnd, u32PLLWindow, u32SyncSendFactor, u16SendClockFactor); break; case(2): /* PTCPSubdomainID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_subdomain_id, &uuid); /* ReservedIntervalBegin */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved_interval_begin, &u32ReservedIntervalBegin); /* ReservedIntervalEnd */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_reserved_interval_end, &u32ReservedIntervalEnd); /* PLLWindow enum */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_pllwindow, &u32PLLWindow); /* SyncSendFactor 32 enum */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sync_send_factor, &u32SyncSendFactor); /* SendClockFactor 16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_send_clock_factor, &u16SendClockFactor); /* PTCPTimeoutFactor 16 enum */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_timeout_factor, &u16PTCPTimeoutFactor); /* PTCPTakeoverTimeoutFactor 16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_takeover_timeout_factor, &u16PTCPTakeoverTimeoutFactor); /* PTCPMasterStartupTime 16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_master_startup_time, &u16PTCPMasterStartupTime); /* SyncProperties 16 bitfield */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sync_properties, &u16SyncProperties); /* PTCP_MasterPriority1 */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_master_priority_1, &u8MasterPriority1); /* PTCP_MasterPriority2 */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_master_priority_2, &u8MasterPriority2); /* PTCPLengthSubdomainName */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, tree, drep, hf_pn_io_ptcp_length_subdomain_name, &u8LengthSubdomainName); /* PTCPSubdomainName */ pSubdomainName = (char *)wmem_alloc(wmem_packet_scope(), u8LengthSubdomainName+1); tvb_memcpy(tvb, (guint8 *) pSubdomainName, offset, u8LengthSubdomainName); pSubdomainName[u8LengthSubdomainName] = '\0'; proto_tree_add_string (tree, hf_pn_io_ptcp_subdomain_name, tvb, offset, u8LengthSubdomainName, pSubdomainName); offset += u8LengthSubdomainName; /* Padding */ offset = dissect_pn_align4(tvb, offset, pinfo, tree); proto_item_append_text(item, ": Interval:%u-%u, PLLWin:%u, Send:%u, Clock:%u", u32ReservedIntervalBegin, u32ReservedIntervalEnd, u32PLLWindow, u32SyncSendFactor, u16SendClockFactor); break; default: expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); } return offset; } /* dissect the PDIRData block */ static int dissect_PDIRData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16SlotNr; guint16 u16SubslotNr; guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; /* versions decoded are High: 1 and LOW 0..2 */ if (u8BlockVersionHigh != 1 || (u8BlockVersionLow > 2 ) ) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); proto_item_append_text(item, ": Slot:0x%x/0x%x", u16SlotNr, u16SubslotNr); /* PDIRGlobalData */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); if (u8BlockVersionLow == 0) { /* PDIRFrameData */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); } else if (u8BlockVersionLow == 1) { /* [PDIRFrameData] */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); /* PDIRBeginEndData */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); }else if (u8BlockVersionLow == 2) { /* [PDIRFrameData] */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); /* PDIRBeginEndData */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); } return offset; } /* dissect the PDIRGlobalData block */ static int dissect_PDIRGlobalData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { e_guid_t uuid; guint32 u32MaxBridgeDelay; guint32 u32NumberOfPorts; guint32 u32MaxPortTxDelay; guint32 u32MaxPortRxDelay; guint32 u32MaxLineRxDelay; guint32 u32YellowTime; guint32 u32Tmp; /* added blockversion 2 */ if (u8BlockVersionHigh != 1 || (u8BlockVersionLow > 2)) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* IRDataID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ir_data_id, &uuid); if (u8BlockVersionLow <= 2) { /* MaxBridgeDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_max_bridge_delay, &u32MaxBridgeDelay); /* NumberOfPorts */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_ports, &u32NumberOfPorts); u32Tmp = u32NumberOfPorts; while (u32Tmp--) { /* MaxPortTxDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_max_port_tx_delay, &u32MaxPortTxDelay); /* MaxPortRxDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_max_port_rx_delay, &u32MaxPortRxDelay); if (u8BlockVersionLow >= 2) { /* MaxLineRxDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_max_line_rx_delay, &u32MaxLineRxDelay); /* YellowTime */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_yellowtime, &u32YellowTime); } } proto_item_append_text(item, ": MaxBridgeDelay:%u, NumberOfPorts:%u", u32MaxBridgeDelay, u32NumberOfPorts); } return offset; } /* dissect the PDIRFrameData block */ static int dissect_PDIRFrameData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint32 u32FrameSendOffset; guint32 u32FrameDataProperties; guint16 u16DataLength; guint16 u16ReductionRatio; guint16 u16Phase; guint16 u16FrameID; guint16 u16Ethertype; guint8 u8RXPort; guint8 u8FrameDetails; guint8 u8NumberOfTxPortGroups; guint8 u8TxPortGroupArray; guint16 u16TxPortGroupArraySize; guint16 u16EndOffset; guint16 n = 0; proto_item *sub_item; proto_tree *sub_tree; /* added low version 1 */ if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 1) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); u16EndOffset = offset + u16BodyLength -2; if (u8BlockVersionLow > 0) { /* for low version 1 FrameDataProperties is added */ sub_item = proto_tree_add_item(tree, hf_pn_io_frame_data_properties, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_FrameDataProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_data_properties_forwarding_Mode, &u32FrameDataProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_data_properties_FastForwardingMulticastMACAdd, &u32FrameDataProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_data_properties_FragmentMode, &u32FrameDataProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_data_properties_reserved_1, &u32FrameDataProperties); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_data_properties_reserved_2, &u32FrameDataProperties); } /* dissect all IR frame data */ while (offset < u16EndOffset) { proto_item *ir_frame_data_sub_item; proto_tree *ir_frame_data_tree; n++; /* new subtree for each IR frame */ ir_frame_data_sub_item = proto_tree_add_item(tree, hf_pn_io_ir_frame_data, tvb, offset, 17, ENC_NA); ir_frame_data_tree = proto_item_add_subtree(ir_frame_data_sub_item, ett_pn_io_ir_frame_data); /* FrameSendOffset */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_frame_send_offset, &u32FrameSendOffset); /* DataLength */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_data_length, &u16DataLength); /* ReductionRatio */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_reduction_ratio, &u16ReductionRatio); /* Phase */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_phase, &u16Phase); /* FrameID */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_frame_id, &u16FrameID); /* Ethertype */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_ethertype, &u16Ethertype); /* RxPort */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, ir_frame_data_tree, drep, hf_pn_io_rx_port, &u8RXPort); /* FrameDetails */ sub_item = proto_tree_add_item(ir_frame_data_tree, hf_pn_io_frame_details, tvb, offset, 1, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_frame_defails); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_details_sync_frame, &u8FrameDetails); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_details_meaning_frame_send_offset, &u8FrameDetails); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_frame_details_reserved, &u8FrameDetails); /* TxPortGroup */ u8NumberOfTxPortGroups = tvb_get_guint8(tvb, offset); sub_item = proto_tree_add_uint(ir_frame_data_tree, hf_pn_io_nr_of_tx_port_groups, tvb, offset, 1, u8NumberOfTxPortGroups); offset++; if ((u8NumberOfTxPortGroups > 21) || ((u8NumberOfTxPortGroups & 0x1) !=1)) { expert_add_info(pinfo, sub_item, &ei_pn_io_nr_of_tx_port_groups); } /* TxPortArray */ u16TxPortGroupArraySize = (u8NumberOfTxPortGroups + 7 / 8); sub_item = proto_tree_add_item(ir_frame_data_tree, hf_pn_io_TxPortGroupProperties, tvb, offset, u16TxPortGroupArraySize, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_GroupProperties); while (u16TxPortGroupArraySize > 0) { dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit0, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit1, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit2, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit3, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit4, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit5, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit6, &u8TxPortGroupArray); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_TxPortGroupProperties_bit7, &u8TxPortGroupArray); offset+=1; u16TxPortGroupArraySize --; } /* align to next dataset */ offset = dissect_pn_align4(tvb, offset, pinfo, ir_frame_data_tree); proto_item_append_text(ir_frame_data_tree, ": Offset:%u, Len:%u, Ratio:%u, Phase:%u, FrameID:0x%04x", u32FrameSendOffset, u16DataLength, u16ReductionRatio, u16Phase, u16FrameID); } proto_item_append_text(item, ": Frames:%u", n); return offset; } static int dissect_PDIRBeginEndData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint16 u16StartOfRedFrameID; guint16 u16EndOfRedFrameID; guint32 u32NumberOfPorts; guint32 u32NumberOfAssignments; guint32 u32NumberOfPhases; guint32 u32RedOrangePeriodBegin; guint32 u32OrangePeriodBegin; guint32 u32GreenPeriodBegin; guint16 u16TXPhaseAssignment; guint16 u16RXPhaseAssignment; guint32 u32SubStart; guint32 u32Tmp; guint32 u32Tmp2; guint32 u32TxRedOrangePeriodBegin[0x11] = {0}; guint32 u32TxOrangePeriodBegin [0x11] = {0}; guint32 u32TxGreenPeriodBegin [0x11] = {0}; guint32 u32RxRedOrangePeriodBegin[0x11] = {0}; guint32 u32RxOrangePeriodBegin [0x11] = {0}; guint32 u32RxGreenPeriodBegin [0x11] = {0}; guint32 u32PortIndex; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_start_of_red_frame_id, &u16StartOfRedFrameID); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_end_of_red_frame_id, &u16EndOfRedFrameID); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_ports, &u32NumberOfPorts); u32Tmp2 = u32NumberOfPorts; while (u32Tmp2--) { proto_item *ir_begin_end_port_sub_item; proto_tree *ir_begin_end_port_tree; /* new subtree for each Port */ ir_begin_end_port_sub_item = proto_tree_add_item(tree, hf_pn_io_ir_begin_end_port, tvb, offset, 0, ENC_NA); ir_begin_end_port_tree = proto_item_add_subtree(ir_begin_end_port_sub_item, ett_pn_io_ir_begin_end_port); u32SubStart = offset; offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_number_of_assignments, &u32NumberOfAssignments); u32Tmp = u32NumberOfAssignments; u32PortIndex = 0; if (u32Tmp <= 0x10) { while (u32Tmp--) { /* TXBeginEndAssignment */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_red_orange_period_begin_tx, &u32RedOrangePeriodBegin); u32TxRedOrangePeriodBegin[u32PortIndex] = u32RedOrangePeriodBegin; offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_orange_period_begin_tx, &u32OrangePeriodBegin); u32TxOrangePeriodBegin[u32PortIndex]= u32OrangePeriodBegin; offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_green_period_begin_tx, &u32GreenPeriodBegin); u32TxGreenPeriodBegin[u32PortIndex] = u32GreenPeriodBegin; /* RXBeginEndAssignment */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_red_orange_period_begin_rx, &u32RedOrangePeriodBegin); u32RxRedOrangePeriodBegin[u32PortIndex] = u32RedOrangePeriodBegin; offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_orange_period_begin_rx, &u32OrangePeriodBegin); u32RxOrangePeriodBegin[u32PortIndex]= u32OrangePeriodBegin; offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_green_period_begin_rx, &u32GreenPeriodBegin); u32RxGreenPeriodBegin[u32PortIndex] = u32GreenPeriodBegin; u32PortIndex++; } } offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ir_begin_end_port_tree, drep, hf_pn_io_number_of_phases, &u32NumberOfPhases); u32Tmp = u32NumberOfPhases; if (u32Tmp <= 0x10) { while (u32Tmp--) { proto_item *ir_begin_tx_phase_sub_item; proto_tree *ir_begin_tx_phase_tree; /* new subtree for TXPhaseAssignment */ ir_begin_tx_phase_sub_item = proto_tree_add_item(ir_begin_end_port_tree, hf_pn_ir_tx_phase_assignment, tvb, offset, 0, ENC_NA); ir_begin_tx_phase_tree = proto_item_add_subtree(ir_begin_tx_phase_sub_item, ett_pn_io_ir_tx_phase); /* bit 0..3 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_begin_value, &u16TXPhaseAssignment); /* bit 4..7 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_orange_begin, &u16TXPhaseAssignment); /* bit 8..11 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_end_reserved, &u16TXPhaseAssignment); /* bit 12..15 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_reserved, &u16TXPhaseAssignment); proto_item_append_text(ir_begin_tx_phase_sub_item, ": 0x%x, RedOrangePeriodBegin: %d, OrangePeriodBegin: %d, GreenPeriodBegin: %d", u16TXPhaseAssignment, u32TxRedOrangePeriodBegin[u16TXPhaseAssignment & 0x0F], u32TxOrangePeriodBegin[(u16TXPhaseAssignment & 0x0F0) >> 4], u32TxGreenPeriodBegin[(u16TXPhaseAssignment & 0x0F00)>> 8]); /* new subtree for RXPhaseAssignment */ ir_begin_tx_phase_sub_item = proto_tree_add_item(ir_begin_end_port_tree, hf_pn_ir_rx_phase_assignment, tvb, offset, 0, ENC_NA); ir_begin_tx_phase_tree = proto_item_add_subtree(ir_begin_tx_phase_sub_item, ett_pn_io_ir_rx_phase); /* bit 0..3 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_begin_value, &u16RXPhaseAssignment); /* bit 4..7 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_orange_begin, &u16RXPhaseAssignment); /* bit 8..11 */ dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_end_reserved, &u16RXPhaseAssignment); /* bit 12..15 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ir_begin_tx_phase_tree, drep, hf_pn_io_tx_phase_assignment_reserved, &u16RXPhaseAssignment); proto_item_append_text(ir_begin_tx_phase_sub_item, ": 0x%x, RedOrangePeriodBegin: %d, OrangePeriodBegin: %d, GreenPeriodBegin: %d", u16RXPhaseAssignment, u32RxRedOrangePeriodBegin[u16RXPhaseAssignment & 0x0F], u32RxOrangePeriodBegin[(u16RXPhaseAssignment & 0x0F0) >> 4], u32RxGreenPeriodBegin[(u16RXPhaseAssignment & 0x0F00)>> 8]); } } proto_item_append_text(ir_begin_end_port_sub_item, ": Assignments:%u, Phases:%u", u32NumberOfAssignments, u32NumberOfPhases); proto_item_set_len(ir_begin_end_port_sub_item, offset - u32SubStart); } proto_item_append_text(item, ": StartOfRedFrameID: 0x%x, EndOfRedFrameID: 0x%x, Ports: %u", u16StartOfRedFrameID, u16EndOfRedFrameID, u32NumberOfPorts); return offset+u16BodyLength; } /* dissect the DiagnosisData block */ static int dissect_DiagnosisData_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 body_length) { guint32 u32Api; guint16 u16SlotNr; guint16 u16SubslotNr; guint16 u16ChannelNumber; guint16 u16UserStructureIdentifier; proto_item *sub_item; if (u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } if (u8BlockVersionLow == 1) { /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); body_length-=4; } /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* ChannelNumber got new ranges: 0..0x7FFF the source is a channel as specified by the manufacturer */ /* fetch u16ChannelNumber */ u16ChannelNumber = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohs(tvb, offset) : tvb_get_ntohs(tvb, offset)); if (tree) { sub_item = proto_tree_add_item(tree,hf_pn_io_channel_number, tvb, offset, 2, DREP_ENC_INTEGER(drep)); if (u16ChannelNumber < 0x8000){ /* 0..0x7FFF the source is a channel as specified by the manufacturer */ proto_item_append_text(sub_item, " channel number of the diagnosis source"); } else if (u16ChannelNumber == 0x8000) /* 0x8000 the whole submodule is the source, */ proto_item_append_text(sub_item, " (whole) Submodule"); else proto_item_append_text(sub_item, " reserved"); } offset = offset +2; /* Advance behind ChannelNumber */ /* ChannelProperties */ offset = dissect_ChannelProperties(tvb, offset, pinfo, tree, item, drep); body_length-=8; /* UserStructureIdentifier */ u16UserStructureIdentifier = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohs(tvb, offset) : tvb_get_ntohs(tvb, offset)); if (u16UserStructureIdentifier > 0x7FFF){ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_user_structure_identifier, &u16UserStructureIdentifier); } else { /* range 0x0 to 0x7fff is manufacturer specific */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_user_structure_identifier_manf, &u16UserStructureIdentifier); } proto_item_append_text(item, ", USI:0x%x", u16UserStructureIdentifier); body_length-=2; /* the rest of the block contains optional: [MaintenanceItem] and/or [AlarmItem] */ while (body_length) { offset = dissect_AlarmUserStructure(tvb, offset, pinfo, tree, item, drep, &body_length, u16UserStructureIdentifier); } return offset; } static int dissect_ARProperties(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_) { proto_item *sub_item; proto_tree *sub_tree; guint32 u32ARProperties; guint8 startupMode; sub_item = proto_tree_add_item(tree, hf_pn_io_ar_properties, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_ar_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_pull_module_alarm_allowed, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_arproperties_StartupMode, &u32ARProperties); startupMode = (guint8)((u32ARProperties >> 30) & 0x01); /* Advanced startup mode */ if (startupMode) { dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, your_sha256_hashtartupmode, &u32ARProperties); } /* Legacy startup mode */ else { dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, your_sha256_hashrtupmode, &u32ARProperties); } dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_reserved, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_achnowledge_companion_ar, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_companion_ar, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_device_access, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_reserved_1, &u32ARProperties); /* removed within 2.3 dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_data_rate, &u32ARProperties); */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_parametrization_server, &u32ARProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_supervisor_takeover_allowed, &u32ARProperties); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_ar_properties_state, &u32ARProperties); return offset; } /* dissect the IOCRProperties */ static int dissect_IOCRProperties(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { proto_item *sub_item; proto_tree *sub_tree; guint32 u32IOCRProperties; sub_item = proto_tree_add_item(tree, hf_pn_io_iocr_properties, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_iocr_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_full_subframe_structure, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_distributed_subframe_watchdog, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_fast_forwarding_mac_adr, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_reserved_3, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_reserved_2, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_media_redundancy, &u32IOCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_reserved_1, &u32IOCRProperties); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocr_properties_rtclass, &u32IOCRProperties); return offset; } /* dissect the ARData block */ static int dissect_ARData_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BlockLength) { guint16 u16NumberOfARs; guint16 u16NumberofEntries; e_guid_t aruuid; e_guid_t uuid; guint16 u16ARType; char *pStationName; guint16 u16NameLength; guint16 u16NumberOfIOCRs; guint16 u16IOCRType; guint16 u16FrameID; guint16 u16CycleCounter; guint8 u8DataStatus; guint8 u8TransferStatus; proto_item *ds_item; proto_tree *ds_tree; guint16 u16UDPRTPort; guint16 u16AlarmCRType; guint16 u16LocalAlarmReference; guint16 u16RemoteAlarmReference; guint16 u16NumberOfAPIs; guint32 u32Api; proto_item *iocr_item; proto_tree *iocr_tree; proto_item *ar_item; proto_tree *ar_tree; guint32 u32IOCRStart; gint32 i32EndOffset; guint32 u32ARDataStart; /* added BlockversionLow == 1 */ if (u8BlockVersionHigh != 1 || u8BlockVersionLow > 1) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } i32EndOffset = offset + u16BlockLength; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_ars, &u16NumberOfARs); /* BlockversionLow: 0 */ if (u8BlockVersionLow == 0) { while (u16NumberOfARs--) { ar_item = proto_tree_add_item(tree, hf_pn_io_ar_data, tvb, offset, 0, ENC_NA); ar_tree = proto_item_add_subtree(ar_item, ett_pn_io_ar_data); u32ARDataStart = offset; offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_ar_uuid, &aruuid); proto_item_append_text(ar_item, "ARUUID:%s", guid_to_str(wmem_packet_scope(), (const e_guid_t*) &aruuid)); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_ar_type, &u16ARType); offset = dissect_ARProperties(tvb, offset, pinfo, ar_tree, item, drep); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_cminitiator_objectuuid, &uuid); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_station_name_length, &u16NameLength); pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (ar_tree, hf_pn_io_cminitiator_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_number_of_iocrs, &u16NumberOfIOCRs); while (u16NumberOfIOCRs--) { iocr_item = proto_tree_add_item(ar_tree, hf_pn_io_iocr_tree, tvb, offset, 0, ENC_NA); iocr_tree = proto_item_add_subtree(iocr_item, ett_pn_io_iocr); u32IOCRStart = offset; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_iocr_type, &u16IOCRType); offset = dissect_IOCRProperties(tvb, offset, pinfo, iocr_tree, drep); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_frame_id, &u16FrameID); proto_item_append_text(iocr_item, ": FrameID:0x%x", u16FrameID); /* add cycle counter */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_cycle_counter, &u16CycleCounter); u8DataStatus = tvb_get_guint8(tvb, offset); u8TransferStatus = tvb_get_guint8(tvb, offset+1); /* add data status subtree */ ds_item = proto_tree_add_uint_format(iocr_tree, hf_pn_io_data_status, tvb, offset, 1, u8DataStatus, "DataStatus: 0x%02x (Frame: %s and %s, Provider: %s and %s)", u8DataStatus, (u8DataStatus & 0x04) ? "Valid" : "Invalid", (u8DataStatus & 0x01) ? "Primary" : "Backup", (u8DataStatus & 0x20) ? "Ok" : "Problem", (u8DataStatus & 0x10) ? "Run" : "Stop"); ds_tree = proto_item_add_subtree(ds_item, ett_pn_io_data_status); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res67, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_ok, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_operate, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res3, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_valid, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res1, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_primary, tvb, offset, 1, u8DataStatus); offset++; /* add transfer status */ if (u8TransferStatus) { proto_tree_add_uint_format(iocr_tree, hf_pn_io_transfer_status, tvb, offset, 1, u8TransferStatus, "TransferStatus: 0x%02x (ignore this frame)", u8TransferStatus); } else { proto_tree_add_uint_format(iocr_tree, hf_pn_io_transfer_status, tvb, offset, 1, u8TransferStatus, "TransferStatus: 0x%02x (OK)", u8TransferStatus); } offset++; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_cminitiator_udprtport, &u16UDPRTPort); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_cmresponder_udprtport, &u16UDPRTPort); proto_item_set_len(iocr_item, offset - u32IOCRStart); } /* AlarmCRType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_alarmcr_type, &u16AlarmCRType); /* LocalAlarmReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_localalarmref, &u16LocalAlarmReference); /* RemoteAlarmReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_remotealarmref, &u16RemoteAlarmReference); /* ParameterServerObjectUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_parameter_server_objectuuid, &uuid); /* StationNameLength */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_station_name_length, &u16NameLength); /* ParameterServerStationName */ pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (ar_tree, hf_pn_io_parameter_server_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); /* API */ if (u16NumberOfAPIs > 0) { offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_api, &u32Api); } proto_item_set_len(ar_item, offset - u32ARDataStart); } } else { /* BlockversionLow == 1 */ while (u16NumberOfARs--) { ar_item = proto_tree_add_item(tree, hf_pn_io_ar_data, tvb, offset, 0, ENC_NA); ar_tree = proto_item_add_subtree(ar_item, ett_pn_io_ar_data); u32ARDataStart = offset; /*ARUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_ar_uuid, &aruuid); proto_item_append_text(ar_item, "ARUUID:%s", guid_to_str(wmem_packet_scope(), (const e_guid_t*) &aruuid)); /* CMInitiatorObjectUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_cminitiator_objectuuid, &uuid); /* ParameterServerObjectUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_parameter_server_objectuuid, &uuid); /* ARProperties*/ offset = dissect_ARProperties(tvb, offset, pinfo, ar_tree, item, drep); /* ARType*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_ar_type, &u16ARType); /* AlarmCRType */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_alarmcr_type, &u16AlarmCRType); /* LocalAlarmReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_localalarmref, &u16LocalAlarmReference); /* RemoteAlarmReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_remotealarmref, &u16RemoteAlarmReference); /* InitiatorUDPRTPort*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_cminitiator_udprtport, &u16UDPRTPort); /* ResponderUDPRTPort*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_cmresponder_udprtport, &u16UDPRTPort); /* CMInitiatorStationName*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_station_name_length, &u16NameLength); pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (ar_tree, hf_pn_io_cminitiator_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; /** align padding! **/ offset = dissect_pn_align4(tvb, offset, pinfo, ar_tree); /* StationNameLength */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_station_name_length, &u16NameLength); if (u16NameLength != 0) { /* ParameterServerStationName */ pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (ar_tree, hf_pn_io_parameter_server_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; } else { /* display no name present */ proto_tree_add_string (ar_tree, hf_pn_io_parameter_server_station_name, tvb, offset, u16NameLength, " <no ParameterServerStationName present>"); } /** align padding! **/ offset = dissect_pn_align4(tvb, offset, pinfo, ar_tree); /* NumberOfIOCRs*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_number_of_iocrs, &u16NumberOfIOCRs); /* align to next 32 bit */ offset = dissect_pn_padding(tvb, offset, pinfo, ar_tree, 2); while (u16NumberOfIOCRs--) { iocr_item = proto_tree_add_item(ar_tree, hf_pn_io_iocr_tree, tvb, offset, 0, ENC_NA); iocr_tree = proto_item_add_subtree(iocr_item, ett_pn_io_iocr); u32IOCRStart = offset; /* IOCRProperties*/ offset = dissect_IOCRProperties(tvb, offset, pinfo, iocr_tree, drep); /* IOCRType*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_iocr_type, &u16IOCRType); /* FrameID*/ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_frame_id, &u16FrameID); proto_item_append_text(iocr_item, ": FrameID:0x%x", u16FrameID); /* add cycle counter */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, iocr_tree, drep, hf_pn_io_cycle_counter, &u16CycleCounter); u8DataStatus = tvb_get_guint8(tvb, offset); u8TransferStatus = tvb_get_guint8(tvb, offset+1); /* add data status subtree */ ds_item = proto_tree_add_uint_format(iocr_tree, hf_pn_io_data_status, tvb, offset, 1, u8DataStatus, "DataStatus: 0x%02x (Frame: %s and %s, Provider: %s and %s)", u8DataStatus, (u8DataStatus & 0x04) ? "Valid" : "Invalid", (u8DataStatus & 0x01) ? "Primary" : "Backup", (u8DataStatus & 0x20) ? "Ok" : "Problem", (u8DataStatus & 0x10) ? "Run" : "Stop"); ds_tree = proto_item_add_subtree(ds_item, ett_pn_io_data_status); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res67, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_ok, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_operate, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res3, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_valid, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_res1, tvb, offset, 1, u8DataStatus); proto_tree_add_uint(ds_tree, hf_pn_io_data_status_primary, tvb, offset, 1, u8DataStatus); offset++; /* add transfer status */ if (u8TransferStatus) { proto_tree_add_uint_format(iocr_tree, hf_pn_io_transfer_status, tvb, offset, 1, u8TransferStatus, "TransferStatus: 0x%02x (ignore this frame)", u8TransferStatus); } else { proto_tree_add_uint_format(iocr_tree, hf_pn_io_transfer_status, tvb, offset, 1, u8TransferStatus, "TransferStatus: 0x%02x (OK)", u8TransferStatus); } offset++; proto_item_set_len(iocr_item, offset - u32IOCRStart); } /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); /* align to next 32 bit */ offset = dissect_pn_padding(tvb, offset, pinfo, ar_tree, 2); /* API */ if (u16NumberOfAPIs > 0) { offset = dissect_dcerpc_uint32(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_api, &u32Api); } /* get the number of subblocks an dissect them */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, ar_tree, drep, hf_pn_io_number_of_ARDATAInfo, &u16NumberofEntries); offset = dissect_pn_padding(tvb, offset, pinfo, ar_tree, 2); while ((offset < i32EndOffset) && (u16NumberofEntries > 0)) { offset = dissect_a_block(tvb, offset, pinfo, ar_tree, drep); u16NumberofEntries--; } proto_item_set_len(ar_item, offset - u32ARDataStart); } } return offset; } /* dissect the APIData block */ static int dissect_APIData_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfAPIs; guint32 u32Api; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); while (u16NumberOfAPIs--) { /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); } return offset; } /* dissect the SLRData block */ static int dissect_SRLData_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 RedundancyInfo; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* bit 0 ..1 EndPoint1 and EndPoint2*/ dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_RedundancyInfo, &RedundancyInfo); /* bit 2 .. 15 reserved */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_RedundancyInfo_reserved, &RedundancyInfo); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); return offset; } /* dissect the LogData block */ static int dissect_LogData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint64 u64ActualLocaltimeStamp; guint16 u16NumberOfLogEntries; guint64 u64LocaltimeStamp; e_guid_t aruuid; guint32 u32EntryDetail; dcerpc_info di; /* fake dcerpc_info struct */ dcerpc_call_value call_data; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } di.conformant_run = 0; /* we need di->call_data->flags.NDR64 == 0 */ call_data.flags = 0; di.call_data = &call_data; di.dcerpc_procedure_name = ""; /* ActualLocalTimeStamp */ offset = dissect_dcerpc_uint64(tvb, offset, pinfo, tree, &di, drep, hf_pn_io_actual_local_time_stamp, &u64ActualLocaltimeStamp); /* NumberOfLogEntries */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_log_entries, &u16NumberOfLogEntries); while (u16NumberOfLogEntries--) { /* LocalTimeStamp */ offset = dissect_dcerpc_uint64(tvb, offset, pinfo, tree, &di, drep, hf_pn_io_local_time_stamp, &u64LocaltimeStamp); /* ARUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, &aruuid); /* PNIOStatus */ offset = dissect_PNIO_status(tvb, offset, pinfo, tree, drep); /* EntryDetail */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_entry_detail, &u32EntryDetail); } return offset; } /* dissect the FS Hello block */ static int dissect_FSHello_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32FSHelloMode; guint32 u32FSHelloInterval; guint32 u32FSHelloRetry; guint32 u32FSHelloDelay; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* FSHelloMode */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_hello_mode, &u32FSHelloMode); /* FSHelloInterval */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_hello_interval, &u32FSHelloInterval); /* FSHelloRetry */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_hello_retry, &u32FSHelloRetry); /* FSHelloDelay */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_hello_delay, &u32FSHelloDelay); proto_item_append_text(item, ": Mode:%s, Interval:%ums, Retry:%u, Delay:%ums", val_to_str(u32FSHelloMode, pn_io_fs_hello_mode_vals, "0x%x"), u32FSHelloInterval, u32FSHelloRetry, u32FSHelloDelay); return offset; } /* dissect the FS Parameter block */ static int dissect_FSParameter_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint32 u32FSParameterMode; e_guid_t FSParameterUUID; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* FSParameterMode */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_parameter_mode, &u32FSParameterMode); /* FSParameterUUID */ offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_fs_parameter_uuid, &FSParameterUUID); proto_item_append_text(item, ": Mode:%s", val_to_str(u32FSParameterMode, pn_io_fs_parameter_mode_vals, "0x%x")); return offset; } /* dissect the FSUDataAdjust block */ static int dissect_PDInterfaceFSUDataAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { tvbuff_t *new_tvb; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); u16BodyLength -= 2; /* sub blocks */ new_tvb = tvb_new_subset_length(tvb, offset, u16BodyLength); dissect_blocks(new_tvb, 0, pinfo, tree, drep); offset += u16BodyLength; return offset; } /* dissect the ARFSUDataAdjust block */ static int dissect_ARFSUDataAdjust_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { tvbuff_t *new_tvb; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* Padding */ offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); u16BodyLength -= 2; /* sub blocks */ new_tvb = tvb_new_subset_length(tvb, offset, u16BodyLength); dissect_blocks(new_tvb, 0, pinfo, tree, drep); offset += u16BodyLength; return offset; } static const char * decode_ARType_spezial(guint16 ARType, guint16 ARAccess) { if (ARType == 0x0001) return ("IO Controller AR"); else if (ARType == 0x0003) return("IO Controller AR"); else if (ARType == 0x0010) return("IO Controller AR (RT_CLASS_3)"); else if (ARType == 0x0020) return("IO Controller AR (sysred/CiR)"); else if (ARType == 0x0006) { if (ARAccess) /*TRUE */ return("DeviceAccess AR"); else return("IO Supervisor AR"); } else return("reserved"); } /* dissect the ARBlockReq */ static int dissect_ARBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t ** ar) { guint16 u16ARType; guint32 u32ARProperties; e_guid_t aruuid; e_guid_t uuid; guint16 u16SessionKey; guint8 mac[6]; guint16 u16TimeoutFactor; guint16 u16UDPRTPort; guint16 u16NameLength; char *pStationName; pnio_ar_t *par; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } u32ARProperties = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohl (tvb, offset + 2 + 16 +2 + 6 +12) : tvb_get_ntohl (tvb, offset + 2 + 16 +2 + 6 +12)); u16ARType = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohs (tvb, offset) : tvb_get_ntohs (tvb, offset)); if (tree) { proto_tree_add_string_format(tree, hf_pn_io_artype_req, tvb, offset, 2, "ARType", "ARType: (0x%04x) %s ", u16ARType, decode_ARType_spezial(u16ARType, u32ARProperties)); } offset = offset + 2; offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, &aruuid); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sessionkey, &u16SessionKey); offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_cminitiator_macadd, mac); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_cminitiator_objectuuid, &uuid); offset = dissect_ARProperties(tvb, offset, pinfo, tree, item, drep); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_cminitiator_activitytimeoutfactor, &u16TimeoutFactor); /* XXX - special values */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_cminitiator_udprtport, &u16UDPRTPort); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_station_name_length, &u16NameLength); pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (tree, hf_pn_io_cminitiator_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; proto_item_append_text(item, ": %s, Session:%u, MAC:%02x:%02x:%02x:%02x:%02x:%02x, Port:0x%x, Station:%s", decode_ARType_spezial(u16ARType, u32ARProperties), u16SessionKey, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], u16UDPRTPort, pStationName); par = pnio_ar_find_by_aruuid(pinfo, &aruuid); if (par == NULL) { par = pnio_ar_new(&aruuid); memcpy( (void *) (&par->controllermac), mac, sizeof(par->controllermac)); par->arType = u16ARType; /* store AR-type for filter generation */ /*strncpy( (char *) (&par->controllername), pStationName, sizeof(par->controllername));*/ } else { /*expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN, "ARBlockReq: AR already existing!");*/ } *ar = par; return offset; } /* dissect the ARBlockRes */ static int dissect_ARBlockRes_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t **ar) { guint16 u16ARType; e_guid_t uuid; guint16 u16SessionKey; guint8 mac[6]; guint16 u16UDPRTPort; pnio_ar_t *par; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_type, &u16ARType); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_ar_uuid, &uuid); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sessionkey, &u16SessionKey); offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_cmresponder_macadd, mac); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_cmresponder_udprtport, &u16UDPRTPort); proto_item_append_text(item, ": %s, Session:%u, MAC:%02x:%02x:%02x:%02x:%02x:%02x, Port:0x%x", val_to_str(u16ARType, pn_io_ar_type, "0x%x"), u16SessionKey, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], u16UDPRTPort); par = pnio_ar_find_by_aruuid(pinfo, &uuid); if (par == NULL) { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "ARBlockRes: AR information not found!"); } else { memcpy( (void *) (&par->devicemac), mac, sizeof(par->controllermac)); } *ar = par; return offset; } /* dissect the IOCRBlockReq */ static int dissect_IOCRBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t *ar) { guint16 u16IOCRType; guint16 u16IOCRReference; guint16 u16LT; guint16 u16DataLength; guint16 u16FrameID; guint16 u16SendClockFactor; guint16 u16ReductionRatio; guint16 u16Phase; guint16 u16Sequence; guint32 u32FrameSendOffset; guint16 u16WatchdogFactor; guint16 u16DataHoldFactor; guint16 u16IOCRTagHeader; guint8 mac[6]; guint16 u16NumberOfAPIs; guint32 u32Api; guint16 u16NumberOfIODataObjects; guint16 u16SlotNr; guint16 u16SubslotNr; guint16 u16IODataObjectFrameOffset; guint16 u16NumberOfIOCS; guint16 u16IOCSFrameOffset; proto_item *api_item; proto_tree *api_tree; guint32 u32ApiStart; guint16 u16Tmp; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; conversation_t *conversation; stationInfo *station_info = NULL; iocsObject *iocs_object; iocsObject *cmp_iocs_object; ioDataObject *io_data_object; ioDataObject *cmp_io_data_object; wmem_list_frame_t *frame; wmem_list_t *iocs_list; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_type, &u16IOCRType); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_reference, &u16IOCRReference); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_lt, &u16LT); offset = dissect_IOCRProperties(tvb, offset, pinfo, tree, drep); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_data_length, &u16DataLength); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_frame_id, &u16FrameID); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_send_clock_factor, &u16SendClockFactor); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_reduction_ratio, &u16ReductionRatio); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_phase, &u16Phase); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_sequence, &u16Sequence); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_frame_send_offset, &u32FrameSendOffset); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_watchdog_factor, &u16WatchdogFactor); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_data_hold_factor, &u16DataHoldFactor); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_tag_header, &u16IOCRTagHeader); offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_iocr_multicast_mac_add, mac); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); proto_item_append_text(item, ": %s, Ref:0x%x, Len:%u, FrameID:0x%x, Clock:%u, Ratio:%u, Phase:%u APIs:%u", val_to_str(u16IOCRType, pn_io_iocr_type, "0x%x"), u16IOCRReference, u16DataLength, u16FrameID, u16SendClockFactor, u16ReductionRatio, u16Phase, u16NumberOfAPIs); while (u16NumberOfAPIs--) { api_item = proto_tree_add_item(tree, hf_pn_io_api_tree, tvb, offset, 0, ENC_NA); api_tree = proto_item_add_subtree(api_item, ett_pn_io_api); u32ApiStart = offset; /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, api_tree, drep, hf_pn_io_api, &u32Api); /* NumberOfIODataObjects */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_number_of_io_data_objects, &u16NumberOfIODataObjects); /* Set global Variant for Number of IO Data Objects */ /* Notice: Handle Input & Output seperate!!! */ if (!pinfo->fd->flags.visited) { /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { /* Create new conversation, if no "Ident OK" frame as been dissected yet! * Need to switch dl_src & dl_dst, as Connect Request is sent by controller and not by device. * All conversations are based on Device MAC as addr1 */ conversation = conversation_new(pinfo->num, &pinfo->dl_dst, &pinfo->dl_src, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info == NULL) { station_info = wmem_new0(wmem_file_scope(), stationInfo); init_pnio_rtc1_station(station_info); conversation_add_proto_data(conversation, proto_pn_dcp, station_info); } else { station_info->ioDataObjectNr = u16NumberOfIODataObjects; } } u16Tmp = u16NumberOfIODataObjects; while (u16Tmp--) { sub_item = proto_tree_add_item(api_tree, hf_pn_io_io_data_object, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_io_data_object); u32SubStart = offset; /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* IODataObjectFrameOffset */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_io_data_object_frame_offset, &u16IODataObjectFrameOffset); proto_item_append_text(sub_item, ": Slot: 0x%x, Subslot: 0x%x FrameOffset: %u", u16SlotNr, u16SubslotNr, u16IODataObjectFrameOffset); proto_item_set_len(sub_item, offset - u32SubStart); if (!pinfo->fd->flags.visited && station_info != NULL) { io_data_object = wmem_new0(wmem_file_scope(), ioDataObject); io_data_object->slotNr = u16SlotNr; io_data_object->subSlotNr = u16SubslotNr; io_data_object->frameOffset = u16IODataObjectFrameOffset; /* initial - Will be added later with Write Request */ io_data_object->f_dest_adr = 0; io_data_object->f_par_crc1 = 0; io_data_object->f_src_adr = 0; io_data_object->f_crc_seed = FALSE; io_data_object->f_crc_len = 0; /* Reset as a PNIO Connect Request of a known module appears */ io_data_object->last_sb_cb = 0; io_data_object->lastToggleBit = 0; if (u16IOCRType == PN_INPUT_CR) { iocs_list = station_info->ioobject_data_in; } else { iocs_list = station_info->ioobject_data_out; } for (frame = wmem_list_head(iocs_list); frame != NULL; frame = wmem_list_frame_next(frame)) { cmp_io_data_object = (ioDataObject*)wmem_list_frame_data(frame); if (cmp_io_data_object->slotNr == u16SlotNr && cmp_io_data_object->subSlotNr == u16SubslotNr) { /* Found identical existing object */ break; } } if (frame == NULL) { /* new io_object data incoming */ wmem_list_append(iocs_list, io_data_object); } } } /* NumberOfIOCS */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_number_of_iocs, &u16NumberOfIOCS); /* Set global Vairant for NumberOfIOCS */ if (!pinfo->fd->flags.visited) { if (station_info != NULL) { station_info->iocsNr = u16NumberOfIOCS; } } u16Tmp = u16NumberOfIOCS; while (u16Tmp--) { sub_item = proto_tree_add_item(api_tree, hf_pn_io_io_cs, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_io_cs); u32SubStart = offset; /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* IOCSFrameOffset */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_iocs_frame_offset, &u16IOCSFrameOffset); proto_item_append_text(sub_item, ": Slot: 0x%x, Subslot: 0x%x FrameOffset: %u", u16SlotNr, u16SubslotNr, u16IOCSFrameOffset); proto_item_set_len(sub_item, offset - u32SubStart); if (!pinfo->fd->flags.visited) { if (station_info != NULL) { if (u16IOCRType == PN_INPUT_CR) { iocs_list = station_info->iocs_data_in; } else { iocs_list = station_info->iocs_data_out; } for (frame = wmem_list_head(iocs_list); frame != NULL; frame = wmem_list_frame_next(frame)) { cmp_iocs_object = (iocsObject*)wmem_list_frame_data(frame); if (cmp_iocs_object->slotNr == u16SlotNr && cmp_iocs_object->subSlotNr == u16SubslotNr) { /* Found identical existing object */ break; } } if (frame == NULL) { /* new iocs_object data incoming */ iocs_object = wmem_new(wmem_file_scope(), iocsObject); iocs_object->slotNr = u16SlotNr; iocs_object->subSlotNr = u16SubslotNr; iocs_object->frameOffset = u16IOCSFrameOffset; wmem_list_append(iocs_list, iocs_object); } } } } proto_item_append_text(api_item, ": 0x%x, NumberOfIODataObjects: %u NumberOfIOCS: %u", u32Api, u16NumberOfIODataObjects, u16NumberOfIOCS); proto_item_set_len(api_item, offset - u32ApiStart); } if (ar != NULL) { switch (u16IOCRType) { case(1): /* Input CR */ if (ar->inputframeid != 0 && ar->inputframeid != u16FrameID) { expert_add_info_format(pinfo, item, &ei_pn_io_frame_id, "IOCRBlockReq: input frameID changed from %u to %u!", ar->inputframeid, u16FrameID); } ar->inputframeid = u16FrameID; break; case(2): /* Output CR */ #if 0 /* will usually contain 0xffff here because the correct framid will be given in the connect.Cnf */ if (ar->outputframeid != 0 && ar->outputframeid != u16FrameID) { expert_add_info_format(pinfo, item, &ei_pn_io_frame_id, "IOCRBlockReq: output frameID changed from %u to %u!", ar->outputframeid, u16FrameID); } ar->outputframeid = u16FrameID; #endif break; default: expert_add_info_format(pinfo, item, &ei_pn_io_iocr_type, "IOCRBlockReq: IOCRType %u undecoded!", u16IOCRType); } } else { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IOCRBlockReq: no corresponding AR found!"); } return offset; } /* dissect the AlarmCRBlockReq */ static int dissect_AlarmCRBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t *ar) { guint16 u16AlarmCRType; guint16 u16LT; guint32 u32AlarmCRProperties; guint16 u16RTATimeoutFactor; guint16 u16RTARetries; guint16 u16LocalAlarmReference; guint16 u16MaxAlarmDataLength; guint16 u16AlarmCRTagHeaderHigh; guint16 u16AlarmCRTagHeaderLow; proto_item *sub_item; proto_tree *sub_tree; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_alarmcr_type, &u16AlarmCRType); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_lt, &u16LT); sub_item = proto_tree_add_item(tree, hf_pn_io_alarmcr_properties, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_alarmcr_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarmcr_properties_reserved, &u32AlarmCRProperties); dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarmcr_properties_transport, &u32AlarmCRProperties); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_alarmcr_properties_priority, &u32AlarmCRProperties); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_rta_timeoutfactor, &u16RTATimeoutFactor); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_rta_retries, &u16RTARetries); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_localalarmref, &u16LocalAlarmReference); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_maxalarmdatalength, &u16MaxAlarmDataLength); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_alarmcr_tagheaderhigh, &u16AlarmCRTagHeaderHigh); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_alarmcr_tagheaderlow, &u16AlarmCRTagHeaderLow); proto_item_append_text(item, ": %s, LT:0x%x, TFactor:%u, Retries:%u, Ref:0x%x, Len:%u Tag:0x%x/0x%x", val_to_str(u16AlarmCRType, pn_io_alarmcr_type, "0x%x"), u16LT, u16RTATimeoutFactor, u16RTARetries, u16LocalAlarmReference, u16MaxAlarmDataLength, u16AlarmCRTagHeaderHigh, u16AlarmCRTagHeaderLow); if (ar != NULL) { if (ar->controlleralarmref != 0xffff && ar->controlleralarmref != u16LocalAlarmReference) { expert_add_info_format(pinfo, item, &ei_pn_io_localalarmref, "AlarmCRBlockReq: local alarm ref changed from %u to %u!", ar->controlleralarmref, u16LocalAlarmReference); } ar->controlleralarmref = u16LocalAlarmReference; } else { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "AlarmCRBlockReq: no corresponding AR found!"); } return offset; } /* dissect the AlarmCRBlockRes */ static int dissect_AlarmCRBlockRes_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t *ar) { guint16 u16AlarmCRType; guint16 u16LocalAlarmReference; guint16 u16MaxAlarmDataLength; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_alarmcr_type, &u16AlarmCRType); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_localalarmref, &u16LocalAlarmReference); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_maxalarmdatalength, &u16MaxAlarmDataLength); proto_item_append_text(item, ": %s, Ref:0x%04x, MaxDataLen:%u", val_to_str(u16AlarmCRType, pn_io_alarmcr_type, "0x%x"), u16LocalAlarmReference, u16MaxAlarmDataLength); if (ar != NULL) { if (ar->devicealarmref != 0xffff && ar->devicealarmref != u16LocalAlarmReference) { expert_add_info_format(pinfo, item, &ei_pn_io_localalarmref, "AlarmCRBlockRes: local alarm ref changed from %u to %u!", ar->devicealarmref, u16LocalAlarmReference); } ar->devicealarmref = u16LocalAlarmReference; } else { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "AlarmCRBlockRes: no corresponding AR found!"); } return offset; } /* dissect the ARServerBlock */ static int dissect_ARServerBlock(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { char *pStationName; guint16 u16NameLength, u16padding; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_station_name_length, &u16NameLength); pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (tree, hf_pn_io_cminitiator_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; /* Padding to next 4 byte allignment in this block */ u16padding = (u16NameLength-2) & 0x3; if (u16padding >0) offset = dissect_pn_padding(tvb, offset, pinfo, tree, u16padding); return offset; } /* dissect the IOCRBlockRes */ static int dissect_IOCRBlockRes_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, pnio_ar_t *ar) { guint16 u16IOCRType; guint16 u16IOCRReference; guint16 u16FrameID; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_type, &u16IOCRType); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_reference, &u16IOCRReference); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_frame_id, &u16FrameID); proto_item_append_text(item, ": %s, Ref:0x%04x, FrameID:0x%04x", val_to_str(u16IOCRType, pn_io_iocr_type, "0x%x"), u16IOCRReference, u16FrameID); if (ar != NULL) { switch (u16IOCRType) { case(1): /* Input CR */ if (ar->inputframeid != 0 && ar->inputframeid != u16FrameID) { expert_add_info_format(pinfo, item, &ei_pn_io_frame_id, "IOCRBlockRes: input frameID changed from %u to %u!", ar->inputframeid, u16FrameID); } ar->inputframeid = u16FrameID; break; case(2): /* Output CR */ if (ar->outputframeid != 0 && ar->outputframeid != u16FrameID) { expert_add_info_format(pinfo, item, &ei_pn_io_frame_id, "IOCRBlockRes: output frameID changed from %u to %u!", ar->outputframeid, u16FrameID); } ar->outputframeid = u16FrameID; break; default: expert_add_info_format(pinfo, item, &ei_pn_io_iocr_type, "IOCRBlockRes: IOCRType %u undecoded!", u16IOCRType); } } else { expert_add_info_format(pinfo, item, &ei_pn_io_ar_info_not_found, "IOCRBlockRes: no corresponding AR found!"); } return offset; } /* dissect the MCRBlockReq */ static int dissect_MCRBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16IOCRReference; guint32 u32AddressResolutionProperties; guint16 u16MCITimeoutFactor; guint16 u16NameLength; char *pStationName; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_reference, &u16IOCRReference); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_address_resolution_properties, &u32AddressResolutionProperties); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_mci_timeout_factor, &u16MCITimeoutFactor); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_station_name_length, &u16NameLength); pStationName = (char *)wmem_alloc(wmem_packet_scope(), u16NameLength+1); tvb_memcpy(tvb, (guint8 *) pStationName, offset, u16NameLength); pStationName[u16NameLength] = '\0'; proto_tree_add_string (tree, hf_pn_io_provider_station_name, tvb, offset, u16NameLength, pStationName); offset += u16NameLength; proto_item_append_text(item, ", CRRef:%u, Properties:0x%x, TFactor:%u, Station:%s", u16IOCRReference, u32AddressResolutionProperties, u16MCITimeoutFactor, pStationName); return offset; } /* dissect the SubFrameBlock */ static int dissect_SubFrameBlock_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint16 u16IOCRReference; guint8 mac[6]; guint32 u32SubFrameData; guint16 u16Tmp; proto_item *sub_item; proto_tree *sub_tree; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); /* IOCRReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_reference, &u16IOCRReference); /* CMInitiatorMACAdd */ offset = dissect_pn_mac(tvb, offset, pinfo, tree, hf_pn_io_cminitiator_macadd, mac); /* SubFrameData n*32 */ u16BodyLength -= 10; u16Tmp = u16BodyLength; do { sub_item = proto_tree_add_item(tree, hf_pn_io_subframe_data, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_subframe_data); /* 31-16 reserved_2 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_reserved2, &u32SubFrameData); /* 15- 8 DataLength */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_length, &u32SubFrameData); /* 7 reserved_1 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_reserved1, &u32SubFrameData); /* 6-0 Position */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_position, &u32SubFrameData); proto_item_append_text(sub_item, ", Length:%u, Pos:%u", (u32SubFrameData & 0x0000FF00) >> 8, u32SubFrameData & 0x0000007F); } while (u16Tmp -= 4); proto_item_append_text(item, ", CRRef:%u, %u*Data", u16IOCRReference, u16BodyLength/4); return offset; } /* dissect the (PD)SubFrameBlock 0x022B */ static int dissect_PDSubFrameBlock_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint32 u32SFIOCRProperties; guint32 u32SubFrameData; guint16 u16FrameID; proto_item *sub_item; proto_tree *sub_tree; guint16 u16RemainingLength; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* FrameID */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_frame_id, &u16FrameID); /* SFIOCRProperties */ sub_item = proto_tree_add_item(tree, hf_pn_io_SFIOCRProperties, tvb, offset, PD_SUB_FRAME_BLOCK_FIOCR_PROPERTIES_LENGTH, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_SFIOCRProperties); /* dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties, &u32SFIOCRProperties); */ /* Bit 31: SFIOCRProperties.SFCRC16 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_SFCRC16, &u32SFIOCRProperties); /* Bit 30: SFIOCRProperties.DFPRedundantPathLayout */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_DFPRedundantPathLayout, &u32SFIOCRProperties); /* Bit 29: SFIOCRProperties.DFPRedundantPathLayout */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_DFPType, &u32SFIOCRProperties); /* Bit 28 - 29: SFIOCRProperties.reserved_2 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_reserved_2, &u32SFIOCRProperties); /* Bit 24 - 27: SFIOCRProperties.reserved_1 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_reserved_1, &u32SFIOCRProperties); /* Bit 16 - 23: SFIOCRProperties.DFPmode */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_SFIOCRProperties_DFPmode, &u32SFIOCRProperties); /* Bit 8 - 15: SFIOCRProperties.RestartFactorForDistributedWD */ /* 0x00 Mandatory No restart delay necessary 0x01 - 0x09 Optional Less than 1 s restart delay 0x0A - 0x50 Mandatory 1 s to 8 s restart delay 0x51 - 0xFF Optional More than 8 s restart delay */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_RestartFactorForDistributedWD, &u32SFIOCRProperties); /* bit 0..7 SFIOCRProperties.DistributedWatchDogFactor */ offset = /* it is the last one, so advance! */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_DistributedWatchDogFactor, &u32SFIOCRProperties); /* SubframeData */ u16RemainingLength = u16BodyLength - PD_SUB_FRAME_BLOCK_FIOCR_PROPERTIES_LENGTH - PD_SUB_FRAME_BLOCK_FRAME_ID_LENGTH; while (u16RemainingLength >= PD_SUB_FRAME_BLOCK_SUB_FRAME_DATA_LENGTH) { guint8 Position, DataLength; sub_item = proto_tree_add_item(tree, hf_pn_io_subframe_data, tvb, offset, 4, ENC_BIG_ENDIAN); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_subframe_data); /* Bit 0 - 6: SubframeData.Position */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_position, &u32SubFrameData); /* Bit 7: SubframeData.reserved_1 */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_reserved1, &u32SubFrameData); /* Bit 8 - 15: SubframeData.dataLength */ dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_data_length, &u32SubFrameData); /* Bit 16 - 31: SubframeData.reserved_2 */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subframe_reserved2, &u32SubFrameData); Position = (guint8) (u32SubFrameData & 0x7F); /* the lower 6 bits */ DataLength =(guint8) ((u32SubFrameData >>8) & 0x0ff); /* bit 8 to 15 */ proto_item_append_text(sub_item, ", Length:%u (0x%x), Pos:%u", DataLength,DataLength, Position); u16RemainingLength = u16RemainingLength - 4; } return offset; } /* dissect the IRInfoBlock */ static int dissect_IRInfoBlock_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength _U_) { guint16 u16NumberOfIOCR; guint16 u16SubframeOffset; guint32 u32SubframeData; guint16 u16IOCRReference; e_guid_t IRDataUUID; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); offset = dissect_dcerpc_uuid_t(tvb, offset, pinfo, tree, drep, hf_pn_io_IRData_uuid, &IRDataUUID); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); /* Numbers of IOCRs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_iocrs, &u16NumberOfIOCR); while (u16NumberOfIOCR--) { /* IOCRReference */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_reference, &u16IOCRReference); /* SubframeOffset 16 */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_SubframeOffset, &u16SubframeOffset); /* SubframeData 32 */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_iocr_SubframeData, &u32SubframeData); } return offset; } /* dissect the SRInfoBlock */ static int dissect_SRInfoBlock_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength _U_) { guint16 u16RedundancyDataHoldFactor; guint32 u32sr_properties; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_RedundancyDataHoldFactor, &u16RedundancyDataHoldFactor); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sr_properties, &u32sr_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sr_properties_InputValidOnBackupAR, &u32sr_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sr_properties_ActivateRedundancyAlarm, &u32sr_properties); dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sr_properties_Reserved_1, &u32sr_properties); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_sr_properties_Reserved_2, &u32sr_properties); return offset; } /* dissect the PDIRSubframeData block 0x022a */ static int dissect_PDIRSubframeData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfSubframeBlocks; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_NumberOfSubframeBlocks, &u16NumberOfSubframeBlocks); while (u16NumberOfSubframeBlocks --) { /* dissect the Subframe Block */ offset = dissect_a_block(tvb, offset, pinfo, /*sub_*/tree, drep); } return offset; } static int dissect_ARVendorBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength _U_) { guint16 APStructureIdentifier; guint32 gu32API; guint32 guDataBytes; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } APStructureIdentifier = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohs(tvb, offset) : tvb_get_ntohs(tvb, offset)); gu32API = ((drep[0] & DREP_LITTLE_ENDIAN) ? tvb_get_letohl(tvb, offset + 2) : tvb_get_ntohl (tvb, offset + 2)); if (tree) { if (gu32API == 0) { if (APStructureIdentifier <0x8000) { proto_tree_add_item(tree, hf_pn_io_arvendor_strucidentifier_if0_low, tvb, offset, 2, DREP_ENC_INTEGER(drep)); } else { if (APStructureIdentifier > 0x8000) { proto_tree_add_item(tree, hf_pn_io_arvendor_strucidentifier_if0_high, tvb, offset, 2, DREP_ENC_INTEGER(drep)); } else /* APStructureIdentifier == 0x8000 */ { proto_tree_add_item(tree, hf_pn_io_arvendor_strucidentifier_if0_is8000, tvb, offset, 2, DREP_ENC_INTEGER(drep)); } } } else { proto_tree_add_item(tree, hf_pn_io_arvendor_strucidentifier_not0, tvb, offset, 2, DREP_ENC_INTEGER(drep)); } /* API */ proto_tree_add_item(tree, hf_pn_io_api, tvb, offset + 2, 4, DREP_ENC_INTEGER(drep)); } offset += 6; if (u16BodyLength < 6 ) return offset; /* there are no user bytes! */ guDataBytes = u16BodyLength - 6; dissect_pn_user_data(tvb, offset, pinfo, tree, guDataBytes, "Data "); return offset; } /* dissect the DataDescription */ static int dissect_DataDescription(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, ioDataObject *tmp_io_data_object) { guint16 u16DataDescription; guint16 u16SubmoduleDataLength; guint8 u8LengthIOCS; guint8 u8LengthIOPS; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; conversation_t *conversation; stationInfo *station_info = NULL; ioDataObject *io_data_object; wmem_list_frame_t *frame; wmem_list_t *ioobject_list; sub_item = proto_tree_add_item(tree, hf_pn_io_data_description_tree, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_data_description); u32SubStart = offset; /* DataDescription */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_data_description, &u16DataDescription); /* SubmoduleDataLength */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_submodule_data_length, &u16SubmoduleDataLength); /* LengthIOCS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_length_iocs, &u8LengthIOCS); /* LengthIOPS */ offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_length_iops, &u8LengthIOPS); proto_item_append_text(sub_item, ": %s, SubmoduleDataLength: %u, LengthIOCS: %u, u8LengthIOPS: %u", val_to_str(u16DataDescription, pn_io_data_description, "(0x%x)"), u16SubmoduleDataLength, u8LengthIOCS, u8LengthIOPS); proto_item_set_len(sub_item, offset - u32SubStart); /* Save new data for IO Data Objects */ if (!pinfo->fd->flags.visited) { /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info != NULL) { if (u16DataDescription == PN_INPUT_DATADESCRITPION) { /* INPUT HANDLING */ ioobject_list = station_info->ioobject_data_in; } else { /* OUTPUT HANDLING */ ioobject_list = station_info->ioobject_data_out; } for (frame = wmem_list_head(ioobject_list); frame != NULL; frame = wmem_list_frame_next(frame)) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame); if (io_data_object->slotNr == tmp_io_data_object->slotNr && io_data_object->subSlotNr == tmp_io_data_object->subSlotNr) { /* Write additional data from dissect_ExpectedSubmoduleBlockReq_block() to corresponding io_data_object */ io_data_object->moduleIdentNr = tmp_io_data_object->moduleIdentNr; io_data_object->subModuleIdentNr = tmp_io_data_object->subModuleIdentNr; io_data_object->length = u16SubmoduleDataLength; io_data_object->moduleNameStr = wmem_strdup(wmem_file_scope(), tmp_io_data_object->moduleNameStr); io_data_object->profisafeSupported = tmp_io_data_object->profisafeSupported; io_data_object->discardIOXS = tmp_io_data_object->discardIOXS; io_data_object->amountInGSDML = tmp_io_data_object->amountInGSDML; io_data_object->fParameterIndexNr = tmp_io_data_object->fParameterIndexNr; break; } } } } return offset; } /* dissect the ExpectedSubmoduleBlockReq */ static int dissect_ExpectedSubmoduleBlockReq_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfAPIs; guint32 u32Api; guint16 u16SlotNr; guint32 u32ModuleIdentNumber; guint16 u16ModuleProperties; guint16 u16NumberOfSubmodules; guint16 u16SubslotNr; guint32 u32SubmoduleIdentNumber; guint16 u16SubmoduleProperties; proto_item *api_item; proto_tree *api_tree; guint32 u32ApiStart; proto_item *sub_item; proto_tree *sub_tree; proto_item *submodule_item; proto_tree *submodule_tree; guint32 u32SubStart; /* Variable for the search of gsd file */ const char vendorIdStr[] = "VendorID=\""; const char deviceIdStr[] = "DeviceID=\""; const char moduleStr[] = "ModuleIdentNumber=\""; const char subModuleStr[] = "SubmoduleIdentNumber=\""; const char profisafeStr[] = "PROFIsafeSupported=\"true\""; const char fParameterStr[] = "<F_ParameterRecordDataItem"; const char fParameterIndexStr[] = "Index="; const char moduleNameInfo[] = "<Name"; const char moduleValueInfo[] = "Value=\""; guint16 searchVendorID = 0; guint16 searchDeviceID = 0; gboolean vendorMatch; gboolean deviceMatch; conversation_t *conversation; stationInfo *station_info = NULL; ioDataObject *io_data_object = NULL; /* Used to transfer data to fct. "dissect_DataDescription()" */ /* Variable for the search of GSD-file */ guint32 read_vendor_id; guint32 read_device_id; guint32 read_module_id; guint32 read_submodule_id; gboolean gsdmlFoundFlag; gchar tmp_moduletext[MAX_NAMELENGTH]; gchar *convertStr; /* GSD-file search */ gchar *pch; /* helppointer, to save temp. the found Networkpath of GSD-file */ gchar *puffer; /* used for fgets() during GSD-file search */ gchar *temp; /* used for fgets() during GSD-file search */ gchar *diropen = NULL; /* saves the final networkpath to open for GSD-files */ GDir *dir; FILE *fp = NULL; /* filepointer */ const gchar *filename; /* saves the found GSD-file name */ /* Helppointer initial */ convertStr = (gchar*)wmem_alloc(wmem_packet_scope(), MAX_NAMELENGTH); convertStr[0] = '\0'; pch = (gchar*)wmem_alloc(wmem_packet_scope(), MAX_LINE_LENGTH); pch[0] = '\0'; puffer = (gchar*)wmem_alloc(wmem_packet_scope(), MAX_LINE_LENGTH); puffer[0] = '\0'; temp = (gchar*)wmem_alloc(wmem_packet_scope(), MAX_LINE_LENGTH); temp[0] = '\0'; /* Initial */ io_data_object = wmem_new0(wmem_file_scope(), ioDataObject); io_data_object->profisafeSupported = FALSE; io_data_object->moduleNameStr = wmem_strdup(wmem_file_scope(), "Unknown"); vendorMatch = FALSE; deviceMatch = FALSE; gsdmlFoundFlag = FALSE; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); proto_item_append_text(item, ": APIs:%u", u16NumberOfAPIs); /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info != NULL) { station_info->gsdFound = FALSE; station_info->gsdPathLength = FALSE; /* Set searchVendorID and searchDeviceID for GSDfile search */ searchVendorID = station_info->u16Vendor_id; searchDeviceID = station_info->u16Device_id; /* Use the given GSD-file networkpath of the PNIO-Preference */ if(pnio_ps_networkpath[0] != '\0') { /* check the length of the given networkpath (array overflow protection) */ station_info->gsdPathLength = TRUE; if ((dir = g_dir_open(pnio_ps_networkpath, 0, NULL)) != NULL) { /* Find all GSD-files within directory */ while ((filename = g_dir_read_name(dir)) != NULL) { /* ---- complete the path to open a GSD-file ---- */ diropen = wmem_strdup_printf(wmem_packet_scope(), "%s" G_DIR_SEPARATOR_S "%s", pnio_ps_networkpath, filename); /* ---- Open the found GSD-file ---- */ fp = ws_fopen(diropen, "r"); if(fp != NULL) { /* ---- Get VendorID & DeviceID ---- */ while(fgets(puffer, MAX_LINE_LENGTH, fp) != NULL) { /* ----- VendorID ------ */ if((strstr(puffer, vendorIdStr)) != NULL) { memset (convertStr, 0, sizeof(*convertStr)); pch = strstr(puffer, vendorIdStr); if (sscanf(pch, "VendorID=\"%[^\"]", convertStr) == 1) { read_vendor_id = (guint32) strtoul (convertStr, NULL, 0); if(read_vendor_id == searchVendorID) { vendorMatch = TRUE; /* found correct VendorID */ } } } /* ----- DeviceID ------ */ if((strstr(puffer, deviceIdStr)) != NULL) { memset(convertStr, 0, sizeof(*convertStr)); pch = strstr(puffer, deviceIdStr); if (sscanf(pch, "DeviceID=\"%[^\"]", convertStr) == 1) { read_device_id = (guint32)strtoul(convertStr, NULL, 0); if(read_device_id == searchDeviceID) { deviceMatch = TRUE; /* found correct DeviceID */ } } } } fclose(fp); fp = NULL; if(vendorMatch && deviceMatch) { break; /* Found correct GSD-file! -> Break the searchloop */ } else { /* Couldn't find the correct GSD-file to the corresponding device */ vendorMatch = FALSE; deviceMatch = FALSE; gsdmlFoundFlag = FALSE; diropen = ""; /* reset array for next search */ } } } g_dir_close(dir); } /* ---- Found the correct GSD-file -> set Flag and save the completed path ---- */ if(vendorMatch && deviceMatch) { gsdmlFoundFlag = TRUE; station_info->gsdFound = TRUE; station_info->gsdLocation = wmem_strdup(wmem_file_scope(), diropen); } else { /* Copy searchpath to array for a detailed output message in cyclic data dissection */ station_info->gsdLocation = wmem_strdup_printf(wmem_file_scope(), "%s" G_DIR_SEPARATOR_S "*.xml", pnio_ps_networkpath); } } else { /* will be used later on in cyclic RTC1 data dissection for detailed output message */ station_info->gsdPathLength = FALSE; } } while (u16NumberOfAPIs--) { api_item = proto_tree_add_item(tree, hf_pn_io_api_tree, tvb, offset, 0, ENC_NA); api_tree = proto_item_add_subtree(api_item, ett_pn_io_api); u32ApiStart = offset; /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, api_tree, drep, hf_pn_io_api, &u32Api); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* ModuleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, api_tree, drep, hf_pn_io_module_ident_number, &u32ModuleIdentNumber); /* ModuleProperties */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_module_properties, &u16ModuleProperties); /* NumberOfSubmodules */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_number_of_submodules, &u16NumberOfSubmodules); proto_item_append_text(api_item, ": %u, Slot:0x%x, IdentNumber:0x%x Properties:0x%x Submodules:%u", u32Api, u16SlotNr, u32ModuleIdentNumber, u16ModuleProperties, u16NumberOfSubmodules); proto_item_append_text(item, ", Submodules:%u", u16NumberOfSubmodules); while (u16NumberOfSubmodules--) { sub_item = proto_tree_add_item(api_tree, hf_pn_io_submodule_tree, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_submodule); u32SubStart = offset; /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* SubmoduleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_submodule_ident_number, &u32SubmoduleIdentNumber); /* SubmoduleProperties */ submodule_item = proto_tree_add_item(sub_tree, hf_pn_io_submodule_properties, tvb, offset, 2, ENC_BIG_ENDIAN); submodule_tree = proto_item_add_subtree(submodule_item, ett_pn_io_submodule_properties); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_properties_reserved, &u16SubmoduleProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_properties_discard_ioxs, &u16SubmoduleProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, your_sha256_hashh, &u16SubmoduleProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, your_sha256_hash, &u16SubmoduleProperties); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_properties_shared_input, &u16SubmoduleProperties); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_properties_type, &u16SubmoduleProperties); io_data_object->slotNr = u16SlotNr; io_data_object->subSlotNr = u16SubslotNr; io_data_object->moduleIdentNr = u32ModuleIdentNumber; io_data_object->subModuleIdentNr = u32SubmoduleIdentNumber; io_data_object->discardIOXS = u16SubmoduleProperties & 0x0020; /* Search the moduleID and subModuleID, find if PROFIsafe and also search for F-Par. Indexnumber * your_sha256_hash----------------------------- * Speical case: Module has several ModuleIdentNr. in one GSD-file * Also with the given parameters of wireshark, some modules were completely equal. For this * special case a compromise for this problem has been made, to set the module name will * be more generally displayed. * Also this searchloop will find the F-Parameter Indexnumber, so that Wireshark is able to * dissect those F-Parameters correctly, as this index can change between the vendors. */ io_data_object->amountInGSDML = 0; io_data_object->fParameterIndexNr = 0; io_data_object->profisafeSupported = FALSE; if (diropen != NULL) { fp = ws_fopen(diropen, "r"); } if(gsdmlFoundFlag && fp != NULL) { fseek(fp, 0, SEEK_SET); /* Find Indexnumber for fParameter */ while(fgets(temp, MAX_LINE_LENGTH, fp) != NULL) { if((strstr(temp, fParameterStr)) != NULL) { memset (convertStr, 0, sizeof(*convertStr)); pch = strstr(temp, fParameterIndexStr); if (sscanf(pch, "Index=\"%[^\"]", convertStr) == 1) { io_data_object->fParameterIndexNr = (guint32)strtoul(convertStr, NULL, 0); } break; /* found Indexnumber -> break search loop */ } } memset (temp, 0, sizeof(*temp)); fseek(fp, 0, SEEK_SET); /* Set filepointer to the beginning */ while(fgets(temp, MAX_LINE_LENGTH, fp) != NULL) { if((strstr(temp, moduleStr)) != NULL) { /* find the String "ModuleIdentNumber=" */ memset (convertStr, 0, sizeof(*convertStr)); pch = strstr(temp, moduleStr); /* search for "ModuleIdentNumber=\"" within GSD-file */ if (sscanf(pch, "ModuleIdentNumber=\"%[^\"]", convertStr) == 1) { /* Change format of Value string-->numeric string */ read_module_id = (guint32)strtoul(convertStr, NULL, 0); /* Change numeric string --> unsigned long; read_module_id contains the Value of the ModuleIdentNumber */ /* If the found ModuleID matches with the wanted ModuleID, search for the Submodule and break */ if (read_module_id == io_data_object->moduleIdentNr) { ++io_data_object->amountInGSDML; /* Save the amount of same (!) Module- & SubmoduleIdentNr in one GSD-file */ while(fgets(temp, MAX_LINE_LENGTH, fp) != NULL) { if((strstr(temp, moduleNameInfo)) != NULL) { /* find the String "<Name" for the TextID */ long filePosRecord; if (sscanf(temp, "%*s TextId=\"%[^\"]", tmp_moduletext) != 1) /* saves the correct TextId for the next searchloop */ break; filePosRecord = ftell(fp); /* save the current position of the filepointer (Offset) */ /* ftell() may return -1 for error, don't move fp in this case */ if (filePosRecord >= 0) { while (fgets(temp, MAX_LINE_LENGTH, fp) != NULL && io_data_object->amountInGSDML == 1) { /* Find a String with the saved TextID and with a fitting value for it in the same line. This value is the name of the Module! */ if(((strstr(temp, tmp_moduletext)) != NULL) && ((strstr(temp, moduleValueInfo)) != NULL)) { pch = strstr(temp, moduleValueInfo); if (sscanf(pch, "Value=\"%[^\"]", io_data_object->moduleNameStr) == 1) break; /* Found the name of the module */ } } fseek(fp, filePosRecord, SEEK_SET); /* set filepointer to the correct TextID */ } } /* Search for Submoduleidentnumber in GSD-file */ if((strstr(temp, subModuleStr)) != NULL) { memset (convertStr, 0, sizeof(*convertStr)); pch = strstr(temp, subModuleStr); if (sscanf(pch, "SubmoduleIdentNumber=\"%[^\"]", convertStr) == 1) { read_submodule_id = (guint32) strtoul (convertStr, NULL, 0); /* read_submodule_id contains the Value of the SubModuleIdentNumber */ /* Find "PROFIsafeSupported" flag of the module in GSD-file */ if(read_submodule_id == io_data_object->subModuleIdentNr) { if((strstr(temp, profisafeStr)) != NULL) { io_data_object->profisafeSupported = TRUE; /* flag is in the same line as SubmoduleIdentNr */ break; } else { /* flag is not in the same line as Submoduleidentnumber -> search for it */ while(fgets(temp, MAX_LINE_LENGTH, fp) != NULL) { if((strstr(temp, profisafeStr)) != NULL) { io_data_object->profisafeSupported = TRUE; break; /* Found the PROFIsafeSupported flag of the module */ } else if((strstr(temp, ">")) != NULL) { break; } } } } break; /* Found the PROFIsafe Module */ } } } } } } } fclose(fp); fp = NULL; } switch (u16SubmoduleProperties & 0x03) { case(0x00): /* no input and no output data (one Input DataDescription Block follows) */ offset = dissect_DataDescription(tvb, offset, pinfo, sub_tree, drep, io_data_object); break; case(0x01): /* input data (one Input DataDescription Block follows) */ offset = dissect_DataDescription(tvb, offset, pinfo, sub_tree, drep, io_data_object); break; case(0x02): /* output data (one Output DataDescription Block follows) */ offset = dissect_DataDescription(tvb, offset, pinfo, sub_tree, drep, io_data_object); break; case(0x03): /* input and output data (one Input and one Output DataDescription Block follows) */ offset = dissect_DataDescription(tvb, offset, pinfo, sub_tree, drep, io_data_object); offset = dissect_DataDescription(tvb, offset, pinfo, sub_tree, drep, io_data_object); break; } proto_item_append_text(sub_item, ": Subslot:0x%x, Ident:0x%x Properties:0x%x", u16SubslotNr, u32SubmoduleIdentNumber, u16SubmoduleProperties); proto_item_set_len(sub_item, offset - u32SubStart); } proto_item_set_len(api_item, offset - u32ApiStart); } return offset; } /* dissect the ModuleDiffBlock */ static int dissect_ModuleDiffBlock_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16NumberOfAPIs; guint32 u32Api; guint16 u16NumberOfModules; guint16 u16SlotNr; guint32 u32ModuleIdentNumber; guint16 u16ModuleState; guint16 u16NumberOfSubmodules; guint16 u16SubslotNr; guint32 u32SubmoduleIdentNumber; guint16 u16SubmoduleState; proto_item *api_item; proto_tree *api_tree; guint32 u32ApiStart; proto_item *module_item; proto_tree *module_tree; guint32 u32ModuleStart; proto_item *sub_item; proto_tree *sub_tree; proto_item *submodule_item; proto_tree *submodule_tree; guint32 u32SubStart; conversation_t *conversation; stationInfo *station_info; wmem_list_frame_t *frame; moduleDiffInfo *module_diff_info; moduleDiffInfo *cmp_module_diff_info; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* NumberOfAPIs */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_number_of_apis, &u16NumberOfAPIs); proto_item_append_text(item, ": APIs:%u", u16NumberOfAPIs); while (u16NumberOfAPIs--) { api_item = proto_tree_add_item(tree, hf_pn_io_api_tree, tvb, offset, 0, ENC_NA); api_tree = proto_item_add_subtree(api_item, ett_pn_io_api); u32ApiStart = offset; /* API */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, api_tree, drep, hf_pn_io_api, &u32Api); /* NumberOfModules */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, api_tree, drep, hf_pn_io_number_of_modules, &u16NumberOfModules); proto_item_append_text(api_item, ": %u, Modules: %u", u32Api, u16NumberOfModules); proto_item_append_text(item, ", Modules:%u", u16NumberOfModules); while (u16NumberOfModules--) { module_item = proto_tree_add_item(api_tree, hf_pn_io_module_tree, tvb, offset, 0, ENC_NA); module_tree = proto_item_add_subtree(module_item, ett_pn_io_module); u32ModuleStart = offset; /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, module_tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* ModuleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, module_tree, drep, hf_pn_io_module_ident_number, &u32ModuleIdentNumber); /* ModuleState */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, module_tree, drep, hf_pn_io_module_state, &u16ModuleState); /* NumberOfSubmodules */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, module_tree, drep, hf_pn_io_number_of_submodules, &u16NumberOfSubmodules); proto_item_append_text(module_item, ": Slot 0x%x, Ident: 0x%x State: %s Submodules: %u", u16SlotNr, u32ModuleIdentNumber, val_to_str(u16ModuleState, pn_io_module_state, "(0x%x)"), u16NumberOfSubmodules); if (!pinfo->fd->flags.visited) { /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info != NULL) { for (frame = wmem_list_head(station_info->diff_module); frame != NULL; frame = wmem_list_frame_next(frame)) { cmp_module_diff_info = (moduleDiffInfo*)wmem_list_frame_data(frame); if (cmp_module_diff_info->slotNr == u16SlotNr) { /* Found identical existing object */ break; } } if (frame == NULL) { /* new diffModuleInfo data incoming */ module_diff_info = wmem_new(wmem_file_scope(), moduleDiffInfo); module_diff_info->slotNr = u16SlotNr; module_diff_info->modulID = u32ModuleIdentNumber; wmem_list_append(station_info->diff_module, module_diff_info); } } } proto_item_append_text(item, ", Submodules:%u", u16NumberOfSubmodules); while (u16NumberOfSubmodules--) { sub_item = proto_tree_add_item(module_tree, hf_pn_io_submodule_tree, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_submodule); u32SubStart = offset; /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* SubmoduleIdentNumber */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_submodule_ident_number, &u32SubmoduleIdentNumber); /* SubmoduleState */ submodule_item = proto_tree_add_item(sub_tree, hf_pn_io_submodule_state, tvb, offset, 2, ENC_BIG_ENDIAN); submodule_tree = proto_item_add_subtree(submodule_item, ett_pn_io_submodule_state); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_format_indicator, &u16SubmoduleState); if (u16SubmoduleState & 0x8000) { dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_ident_info, &u16SubmoduleState); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_ar_info, &u16SubmoduleState); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_diag_info, &u16SubmoduleState); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_maintenance_demanded, &u16SubmoduleState); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_maintenance_required, &u16SubmoduleState); dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_qualified_info, &u16SubmoduleState); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_add_info, &u16SubmoduleState); } else { offset = dissect_dcerpc_uint16(tvb, offset, pinfo, submodule_tree, drep, hf_pn_io_submodule_state_detail, &u16SubmoduleState); } proto_item_append_text(sub_item, ": Subslot 0x%x, IdentNumber: 0x%x, State: 0x%x", u16SubslotNr, u32SubmoduleIdentNumber, u16SubmoduleState); proto_item_set_len(sub_item, offset - u32SubStart); } /* NumberOfSubmodules */ proto_item_set_len(module_item, offset - u32ModuleStart); } proto_item_set_len(api_item, offset - u32ApiStart); } return offset; } /* dissect the IsochronousModeData block */ static int dissect_IsochronousModeData_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item _U_, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow) { guint16 u16SlotNr; guint16 u16SubslotNr; guint16 u16ControllerApplicationCycleFactor; guint16 u16TimeDataCycle; guint32 u32TimeIOInput; guint32 u32TimeIOOutput; guint32 u32TimeIOInputValid; guint32 u32TimeIOOutputValid; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); /* SlotNumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); /* Subslotnumber */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); /* ControllerApplicationCycleFactor */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_controller_appl_cycle_factor, &u16ControllerApplicationCycleFactor); /* TimeDataCycle */ offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_time_data_cycle, &u16TimeDataCycle); /* TimeIOInput (ns) */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_time_io_input, &u32TimeIOInput); /* TimeIOOutput (ns) */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_time_io_output, &u32TimeIOOutput); /* TimeIOInputValid (ns) */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_time_io_input_valid, &u32TimeIOInputValid); /* TimeIOOutputValid (ns) */ offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_time_io_output_valid, &u32TimeIOOutputValid); return offset+1; } /* dissect the MultipleBlockHeader block */ static int dissect_MultipleBlockHeader_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16BodyLength) { guint32 u32Api; guint16 u16SlotNr; guint16 u16SubslotNr; tvbuff_t *new_tvb; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_align4(tvb, offset, pinfo, tree); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); proto_item_append_text(item, ": Api:0x%x Slot:%u Subslot:0x%x", u32Api, u16SlotNr, u16SubslotNr); new_tvb = tvb_new_subset_length(tvb, offset, u16BodyLength-10); offset = dissect_blocks(new_tvb, 0, pinfo, tree, drep); /*offset += u16BodyLength;*/ return offset; } /* dissect Combined Object Container Content block */ static int dissect_COContainerContent_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 *drep, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar) { guint32 u32Api; guint16 u16SlotNr; guint16 u16SubslotNr; if(u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep, hf_pn_io_api, &u32Api); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_slot_nr, &u16SlotNr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_subslot_nr, &u16SubslotNr); offset = dissect_pn_padding(tvb, offset, pinfo, tree, 2); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep, hf_pn_io_index, &u16Index); proto_item_append_text(item, ": Api:0x%x Slot:%u Subslot:0x%x Index:0x%x", u32Api, u16SlotNr, u16SubslotNr, u16Index); if(u16Index != 0x80B0) { offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, u32RecDataLen, ar); } return offset; } static const gchar * indexReservedForProfiles(guint16 u16Index) { /* "reserved for profiles" */ if (u16Index >= 0xb000 && u16Index <= 0xbfff) { return "Reserved for Profiles (subslot specific)"; } if (u16Index >= 0xd000 && u16Index <= 0xdfff) { return "Reserved for Profiles (slot specific)"; } if (u16Index >= 0xec00 && u16Index <= 0xefff) { return "Reserved for Profiles (AR specific)"; } if (u16Index >= 0xf400 && u16Index <= 0xf7ff) { return "Reserved for Profiles (API specific)"; } if (u16Index >= 0xfc00 /* up to 0xffff */) { return "Reserved for Profiles (device specific)"; } return NULL; } /* dissect the RecordDataReadQuery block */ static int dissect_RecordDataReadQuery_block(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint8 *drep _U_, guint8 u8BlockVersionHigh, guint8 u8BlockVersionLow, guint16 u16Index, guint16 u16BodyLength) { const gchar *userProfile; if (u8BlockVersionHigh != 1 || u8BlockVersionLow != 0) { expert_add_info_format(pinfo, item, &ei_pn_io_block_version, "Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow); return offset; } /* user specified format? */ if (u16Index < 0x8000) { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u16BodyLength, "User Specified Data"); return offset; } /* "reserved for profiles"? */ userProfile = indexReservedForProfiles(u16Index); if (userProfile != NULL) { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u16BodyLength, userProfile); return offset; } return dissect_pn_undecoded(tvb, offset, pinfo, tree, u16BodyLength); } /* dissect one PN-IO block (depending on the block type) */ static int dissect_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint16 *u16Index, guint32 *u32RecDataLen, pnio_ar_t **ar) { guint16 u16BlockType; guint16 u16BlockLength; guint8 u8BlockVersionHigh; guint8 u8BlockVersionLow; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; guint16 u16BodyLength; proto_item *header_item; proto_tree *header_tree; gint remainingBytes; /* from here, we only have big endian (network byte ordering)!!! */ drep[0] &= ~DREP_LITTLE_ENDIAN; sub_item = proto_tree_add_item(tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_block); u32SubStart = offset; header_item = proto_tree_add_item(sub_tree, hf_pn_io_block_header, tvb, offset, 6, ENC_NA); header_tree = proto_item_add_subtree(header_item, ett_pn_io_block_header); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, header_tree, drep, hf_pn_io_block_type, &u16BlockType); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, header_tree, drep, hf_pn_io_block_length, &u16BlockLength); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, header_tree, drep, hf_pn_io_block_version_high, &u8BlockVersionHigh); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, header_tree, drep, hf_pn_io_block_version_low, &u8BlockVersionLow); proto_item_append_text(header_item, ": Type=%s, Length=%u(+4), Version=%u.%u", val_to_str(u16BlockType, pn_io_block_type, "Unknown (0x%04x)"), u16BlockLength, u8BlockVersionHigh, u8BlockVersionLow); proto_item_set_text(sub_item, "%s", val_to_str(u16BlockType, pn_io_block_type, "Unknown (0x%04x)")); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str(u16BlockType, pn_io_block_type, "Unknown")); /* block length is without type and length fields, but with version field */ /* as it's already dissected, remove it */ u16BodyLength = u16BlockLength - 2; remainingBytes = tvb_reported_length_remaining(tvb, offset); if (remainingBytes < 0) remainingBytes = 0; if (remainingBytes +2 < u16BodyLength) { proto_item_append_text(sub_item, " Block_Length: %d greater than remaining Bytes, trying with Blocklen = remaining (%d)", u16BodyLength, remainingBytes); u16BodyLength = remainingBytes; } switch (u16BlockType) { case(0x0001): case(0x0002): dissect_AlarmNotification_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0008): dissect_IODWriteReqHeader_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16Index, u32RecDataLen, ar); break; case(0x0009): dissect_IODReadReqHeader_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16Index, u32RecDataLen, ar); break; case(0x0010): dissect_DiagnosisData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0012): /* ExpectedIdentificationData */ case(0x0013): /* RealIdentificationData */ dissect_IdentificationData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0014): dissect_SubstituteValue_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0015): dissect_RecordInputDataObjectElement_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0016): dissect_RecordOutputDataObjectElement_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; /* 0x0017 reserved */ case(0x0018): dissect_ARData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0019): dissect_LogData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x001A): dissect_APIData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x001B): dissect_SRLData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0020): dissect_IandM0_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0021): dissect_IandM1_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0022): dissect_IandM2_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0023): dissect_IandM3_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0024): dissect_IandM4_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0025): dissect_IandM5_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh,u8BlockVersionLow); break; case(0x0030): dissect_IandM0FilterData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0031): dissect_IandM0FilterData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0032): dissect_IandM0FilterData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0033): dissect_IandM5Data_block(tvb, offset, pinfo, sub_tree, sub_item, drep); break; case(0x0101): dissect_ARBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, ar); break; case(0x0102): dissect_IOCRBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *ar); break; case(0x0103): dissect_AlarmCRBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *ar); break; case(0x0104): dissect_ExpectedSubmoduleBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0106): dissect_MCRBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0107): dissect_SubFrameBlock_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0108): case(0x8108): dissect_ARVendorBlockReq_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0109): dissect_IRInfoBlock_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x010A): dissect_SRInfoBlock_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0110): case(0x0111): case(0x0112): case(0x0113): case(0x0114): case(0x0116): case(0x0117): dissect_ControlConnect_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, ar); break; case(0x0118): dissect_ControlBlockPrmBegin(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength, ar); break; case(0x0119): dissect_SubmoduleListBlock(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength, ar); break; case(0x0200): /* PDPortDataCheck */ dissect_PDPortData_Check_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0201): dissect_PDevData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0202): /*dissect_PDPortData_Adjust_block */ dissect_PDPortData_Adjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0203): dissect_PDSyncData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0204): dissect_IsochronousModeData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0205): dissect_PDIRData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0206): dissect_PDIRGlobalData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0207): dissect_PDIRFrameData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0208): dissect_PDIRBeginEndData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0209): dissect_AdjustDomainBoundary_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x020A): dissect_CheckPeers_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x020B): dissect_CheckLineDelay_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x020C): dissect_CheckMAUType_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x020E): dissect_AdjustMAUType_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x020F): dissect_PDPortDataReal_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0210): dissect_AdjustMulticastBoundary_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0211): dissect_PDInterfaceMrpDataAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0212): dissect_PDInterfaceMrpDataReal_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0213): dissect_PDInterfaceMrpDataCheck_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0214): case(0x0215): dissect_PDPortMrpData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0216): dissect_MrpManagerParams_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0217): dissect_MrpClientParams_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0218): dissect_MrpRTModeManagerData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0219): dissect_MrpRingStateData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021A): dissect_MrpRTStateData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021B): dissect_AdjustPortState_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021C): dissect_CheckPortState_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021D): dissect_MrpRTModeClientData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021E): dissect_CheckSyncDifference_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x021F): dissect_CheckMAUTypeDifference_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0220): dissect_PDPortFODataReal_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0221): dissect_FiberOpticManufacturerSpecific_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0222): dissect_PDPortFODataAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0223): dissect_PDPortFODataCheck_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0226): dissect_AdjustPreambleLength_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0228): dissect_FiberOpticDiagnosisInfo_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x022A): dissect_PDIRSubframeData_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x022B): dissect_PDSubFrameBlock_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0230): dissect_PDPortFODataCheck_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0231): dissect_MrpInstanceDataAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0232): dissect_MrpInstanceDataReal_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0233): dissect_MrpInstanceDataCheck_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0240): dissect_PDInterfaceDataReal_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0250): dissect_PDInterfaceAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0251): dissect_PDPortStatistic_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0400): dissect_MultipleBlockHeader_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0401): dissect_COContainerContent_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *u16Index, u32RecDataLen, ar); break; case(0x0500): dissect_RecordDataReadQuery_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *u16Index, u16BodyLength); break; case(0x0600): dissect_FSHello_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0601): dissect_FSParameter_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x0608): dissect_PDInterfaceFSUDataAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x010B): case(0x0609): dissect_ARFSUDataAdjust_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16BodyLength); break; case(0x0f00): dissect_Maintenance_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x8001): case(0x8002): dissect_Alarm_ack_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x8008): dissect_IODWriteResHeader_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16Index, u32RecDataLen, ar); break; case(0x8009): dissect_IODReadResHeader_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, u16Index, u32RecDataLen, ar); break; case(0x8101): dissect_ARBlockRes_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, ar); break; case(0x8102): dissect_IOCRBlockRes_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *ar); break; case(0x8103): dissect_AlarmCRBlockRes_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, *ar); break; case(0x8104): dissect_ModuleDiffBlock_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x8106): dissect_ARServerBlock(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow); break; case(0x8110): case(0x8111): case(0x8112): case(0x8113): case(0x8114): case(0x8116): case(0x8117): case(0x8118): dissect_ControlConnect_block(tvb, offset, pinfo, sub_tree, sub_item, drep, u8BlockVersionHigh, u8BlockVersionLow, ar); break; default: dissect_pn_undecoded(tvb, offset, pinfo, sub_tree, u16BodyLength); } offset += u16BodyLength; proto_item_set_len(sub_item, offset - u32SubStart); return offset; } /* dissect any PN-IO block */ static int dissect_a_block(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); if (ar != NULL) { pnio_ar_info(tvb, pinfo, tree, ar); } return offset; } /* dissect any number of PN-IO blocks */ static int dissect_blocks(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; while (tvb_captured_length(tvb) > (guint) offset) { offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); u16Index++; } if (ar != NULL) { pnio_ar_info(tvb, pinfo, tree, ar); } return offset; } /* dissect a PN-IO (DCE-RPC) request header */ static int dissect_IPNIO_rqst_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 u32ArgsMax; guint32 u32ArgsLen; guint32 u32MaxCount; guint32 u32Offset; guint32 u32ArraySize; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; col_set_str(pinfo->cinfo, COL_PROTOCOL, "PNIO-CM"); /* args_max */ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_pn_io_args_max, &u32ArgsMax); /* args_len */ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_pn_io_args_len, &u32ArgsLen); sub_item = proto_tree_add_item(tree, hf_pn_io_array, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io); u32SubStart = offset; /* RPC array header */ offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_max_count, &u32MaxCount); offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_offset, &u32Offset); offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_act_count, &u32ArraySize); proto_item_append_text(sub_item, ": Max: %u, Offset: %u, Size: %u", u32MaxCount, u32Offset, u32ArraySize); proto_item_set_len(sub_item, offset - u32SubStart); return offset; } /* dissect a PN-IO (DCE-RPC) response header */ static int dissect_IPNIO_resp_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 u32ArgsLen; guint32 u32MaxCount; guint32 u32Offset; guint32 u32ArraySize; proto_item *sub_item; proto_tree *sub_tree; guint32 u32SubStart; col_set_str(pinfo->cinfo, COL_PROTOCOL, "PNIO-CM"); offset = dissect_PNIO_status(tvb, offset, pinfo, tree, drep); /* args_len */ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_pn_io_args_len, &u32ArgsLen); sub_item = proto_tree_add_item(tree, hf_pn_io_array, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io); u32SubStart = offset; /* RPC array header */ offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_max_count, &u32MaxCount); offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_offset, &u32Offset); offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, di, drep, hf_pn_io_array_act_count, &u32ArraySize); proto_item_append_text(sub_item, ": Max: %u, Offset: %u, Size: %u", u32MaxCount, u32Offset, u32ArraySize); proto_item_set_len(sub_item, offset - u32SubStart); return offset; } /* dissect a PN-IO request */ static int dissect_IPNIO_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_IPNIO_rqst_header(tvb, offset, pinfo, tree, di, drep); offset = dissect_blocks(tvb, offset, pinfo, tree, drep); return offset; } /* dissect a PN-IO response */ static int dissect_IPNIO_resp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_IPNIO_resp_header(tvb, offset, pinfo, tree, di, drep); offset = dissect_blocks(tvb, offset, pinfo, tree, drep); return offset; } /* dissect a PROFIDrive parameter request */ static int dissect_ProfiDriveParameterRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint8 request_reference; guint8 request_id; guint8 do_id; guint8 no_of_parameters; guint8 addr_idx; proto_item *profidrive_item; proto_tree *profidrive_tree; profidrive_item = proto_tree_add_item(tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); profidrive_tree = proto_item_add_subtree(profidrive_item, ett_pn_io_profidrive_parameter_request); proto_item_set_text(profidrive_item, "PROFIDrive Parameter Request: "); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_request_reference, &request_reference); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_request_id, &request_id); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_do_id, &do_id); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_no_of_parameters, &no_of_parameters); proto_item_append_text(profidrive_item, "ReqRef:0x%02x, ReqId:%s, DO:%u, NoOfParameters:%u", request_reference, val_to_str(request_id, pn_io_profidrive_request_id_vals, "Unknown"), do_id, no_of_parameters); col_add_fstr(pinfo->cinfo, COL_INFO, "PROFIDrive Write Request, ReqRef:0x%02x, %s DO:%u", request_reference, request_id==0x01 ? "Read" : request_id==0x02 ? "Change" : "", do_id); /* Parameter address list */ for(addr_idx=0; addr_idx<no_of_parameters; addr_idx++) { guint8 attribute; guint8 no_of_elems; guint16 parameter; guint16 idx; proto_item *sub_item; proto_tree *sub_tree; sub_item = proto_tree_add_item(profidrive_tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_profidrive_parameter_address); proto_item_set_text(sub_item, "Parameter Address %u: ", addr_idx+1); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_attribute, &attribute); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_no_of_elems, &no_of_elems); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_number, &parameter); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_subindex, &idx); proto_item_append_text(sub_item, "Attr:%s, Elems:%u, Parameter:%u, Index:%u", val_to_str(attribute, pn_io_profidrive_attribute_vals, "Unknown"), no_of_elems, parameter, idx); if (no_of_elems>1) { col_append_fstr(pinfo->cinfo, COL_INFO, ", P%d[%d..%d]", parameter, idx, idx+no_of_elems-1); } else { col_append_fstr(pinfo->cinfo, COL_INFO, ", P%d[%d]", parameter, idx); } } /* in case of change request parameter value list */ if (request_id == 0x02) { for(addr_idx=0; addr_idx<no_of_parameters; addr_idx++) { guint8 format; guint8 no_of_vals; proto_item *sub_item; proto_tree *sub_tree; sub_item = proto_tree_add_item(profidrive_tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_profidrive_parameter_value); proto_item_set_text(sub_item, "Parameter Value %u: ", addr_idx+1); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_format, &format); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_profidrive_param_no_of_values, &no_of_vals); proto_item_append_text(sub_item, "Format:%s, NoOfVals:%u", val_to_str(format, pn_io_profidrive_format_vals, "Unknown"), no_of_vals); while (no_of_vals--) { offset = dissect_profidrive_value(tvb, offset, pinfo, sub_tree, drep, format); } } } return offset; } static int dissect_ProfiDriveParameterResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint8 request_reference; guint8 response_id; guint8 do_id; guint8 no_of_parameters; proto_item *profidrive_item; proto_tree *profidrive_tree; profidrive_item = proto_tree_add_item(tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); profidrive_tree = proto_item_add_subtree(profidrive_item, ett_pn_io_profidrive_parameter_response); proto_item_set_text(profidrive_item, "PROFIDrive Parameter Response: "); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_request_reference, &request_reference); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_response_id, &response_id); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_do_id, &do_id); offset = dissect_dcerpc_uint8(tvb, offset, pinfo, profidrive_tree, drep, hf_pn_io_profidrive_no_of_parameters, &no_of_parameters); proto_item_append_text(profidrive_item, "ReqRef:0x%02x, RspId:%s, DO:%u, NoOfParameters:%u", request_reference, val_to_str(response_id, pn_io_profidrive_response_id_vals, "Unknown"), do_id, no_of_parameters); col_add_fstr(pinfo->cinfo, COL_INFO, "PROFIDrive Read Response, ReqRef:0x%02x, RspId:%s", request_reference, val_to_str(response_id, pn_io_profidrive_response_id_vals, "Unknown response")); return offset; } static int dissect_RecordDataRead(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint16 u16Index, guint32 u32RecDataLen) { const gchar *userProfile; pnio_ar_t *ar = NULL; /* user specified format? */ if (u16Index < 0x8000) { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u32RecDataLen, "User Specified Data"); return offset; } /* profidrive parameter access response */ if (u16Index == 0xb02e || u16Index == 0xb02f) { return dissect_ProfiDriveParameterResponse(tvb, offset, pinfo, tree, drep); } /* "reserved for profiles"? */ userProfile = indexReservedForProfiles(u16Index); if (userProfile != NULL) { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u32RecDataLen, userProfile); return offset; } /* see: pn_io_index */ /* single block only */ switch (u16Index) { case(0x8010): /* Maintenance required in channel coding for one subslot */ case(0x8011): /* Maintenance demanded in channel coding for one subslot */ case(0x8012): /* Maintenance required in all codings for one subslot */ case(0x8013): /* Maintenance demanded in all codings for one subslot */ case(0x801e): /* SubstituteValues for one subslot */ case(0x8028): /* RecordInputDataObjectElement for one subslot */ case(0x8029): /* RecordOutputDataObjectElement for one subslot */ case(0x8050): /* PDInterfaceMrpDataReal for one subslot */ case(0x8051): /* PDInterfaceMrpDataCheck for one subslot */ case(0x8052): /* PDInterfaceMrpDataAdjust for one subslot */ case(0x8053): /* PDPortMrpDataAdjust for one subslot */ case(0x8054): /* PDPortMrpDataReal for one subslot */ case(0x8060): /* PDPortFODataReal for one subslot */ case(0x8061): /* PDPortFODataCheck for one subslot */ case(0x8062): /* PDPortFODataAdjust for one subslot */ case(0x8070): /* PDNCDataCheck for one subslot */ case(0x8071): /* PDPortStatistic for one subslot */ case(0x8080): /* PDInterfaceDataReal */ case(0x8090): /* PDInterfaceFSUDataAdjust */ case(0xaff0): /* I&M0 */ case(0xaff1): /* I&M1 */ case(0xaff2): /* I&M2 */ case(0xaff3): /* I&M3 */ case(0xaff4): /* I&M4 */ case(0xaff5): /* I&M5 */ case(0xaff6): /* I&M6 */ case(0xaff7): /* I&M7 */ case(0xaff8): /* I&M8 */ case(0xaff9): /* I&M9 */ case(0xaffa): /* I&M10 */ case(0xaffb): /* I&M11 */ case(0xaffc): /* I&M12 */ case(0xaffd): /* I&M13 */ case(0xaffe): /* I&M14 */ case(0xafff): /* I&M15 */ case(0xc010): /* Maintenance required in channel coding for one slot */ case(0xc011): /* Maintenance demanded in channel coding for one slot */ case(0xc012): /* Maintenance required in all codings for one slot */ case(0xc013): /* Maintenance demanded in all codings for one slot */ case(0xe002): /* ModuleDiffBlock for one AR */ case(0xe010): /* Maintenance required in channel coding for one AR */ case(0xe011): /* Maintenance demanded in channel coding for one AR */ case(0xe012): /* Maintenance required in all codings for one AR */ case(0xe013): /* Maintenance demanded in all codings for one AR */ case(0xf010): /* Maintenance required in channel coding for one API */ case(0xf011): /* Maintenance demanded in channel coding for one API */ case(0xf012): /* Maintenance required in all codings for one API */ case(0xf013): /* Maintenance demanded in all codings for one API */ case(0xf020): /* ARData for one API */ case(0xf820): /* ARData */ case(0xf821): /* APIData */ case(0xf830): /* LogData */ case(0xf831): /* PDevData */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); break; case(0xf840): /* I&M0FilterData */ { int end_offset = offset + u32RecDataLen; offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); if (end_offset > offset) offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); if (end_offset > offset) offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); } break; case(0xB050): case(0xB051): case(0xB060): case(0xB061): offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); break; /*** multiple blocks possible ***/ case(0x8000): /* ExpectedIdentificationData for one subslot */ case(0x8001): /* RealIdentificationData for one subslot */ case(0x800a): /* Diagnosis in channel decoding for one subslot */ case(0x800b): /* Diagnosis in all codings for one subslot */ case(0x800c): /* Diagnosis, Maintenance, Qualified and Status for one subslot */ case(0x802a): /* PDPortDataReal */ case(0x802b): /* PDPortDataCheck */ case(0x802d): /* Expected PDSyncData for one subslot with SyncID value 0 for PTCPoverRTA */ case(0x802e): /* Expected PDSyncData for one subslot with SyncID value 0 for PTCPoverRTC */ case(0x802f): /* PDPortDataAdjust */ case(0x8030): /* IsochronousModeData for one subslot */ case(0x8031): /* Expected PDSyncData for one subslot with SyncID value 1 */ case(0x8032): case(0x8033): case(0x8034): case(0x8035): case(0x8036): case(0x8037): case(0x8038): case(0x8039): case(0x803a): case(0x803b): case(0x803c): case(0x803d): case(0x803e): case(0x803f): case(0x8040): /* Expected PDSyncData for one subslot with SyncID value 2 ... 30 */ case(0x8041): case(0x8042): case(0x8043): case(0x8044): case(0x8045): case(0x8046): case(0x8047): case(0x8048): case(0x8049): case(0x804a): case(0x804b): case(0x804c): case(0x804d): case(0x804e): case(0x804f): /* Expected PDSyncData for one subslot with SyncID value 31 */ case(0x8072): /* PDPortStatistic for one subslot */ case(0xc000): /* ExpectedIdentificationData for one slot */ case(0xc001): /* RealIdentificationData for one slot */ case(0xc00a): /* Diagnosis in channel coding for one slot */ case(0xc00b): /* Diagnosis in all codings for one slot */ case(0xc00c): /* Diagnosis, Maintenance, Qualified and Status for one slot */ case(0xe000): /* ExpectedIdentificationData for one AR */ case(0xe001): /* RealIdentificationData for one AR */ case(0xe00a): /* Diagnosis in channel decoding for one AR */ case(0xe00b): /* Diagnosis in all codings for one AR */ case(0xe00c): /* Diagnosis, Maintenance, Qualified and Status for one AR */ case(0xe030): /* IsochronousModeData for one AR */ case(0xf000): /* RealIdentificationData for one API */ case(0xf00a): /* Diagnosis in channel decoding for one API */ case(0xf00b): /* Diagnosis in all codings for one API */ case(0xf00c): /* Diagnosis, Maintenance, Qualified and Status for one API */ case(0xf80c): /* Diagnosis, Maintenance, Qualified and Status for one device */ case(0xf841): /* PDRealData */ case(0xf842): /* PDExpectedData */ offset = dissect_blocks(tvb, offset, pinfo, tree, drep); break; default: offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, u32RecDataLen); } return offset; } /* dissect a PN-IO read response */ static int dissect_IPNIO_Read_resp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint16 u16Index = 0; guint32 u32RecDataLen = 0; pnio_ar_t *ar = NULL; offset = dissect_IPNIO_resp_header(tvb, offset, pinfo, tree, di, drep); /* IODReadHeader */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); /* RecordDataRead */ if (u32RecDataLen != 0) { offset = dissect_RecordDataRead(tvb, offset, pinfo, tree, drep, u16Index, u32RecDataLen); } if (ar != NULL) { pnio_ar_info(tvb, pinfo, tree, ar); } return offset; } /* F-Parameter record data object */ static int dissect_ProfiSafeParameterRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint16 u16Index, wmem_list_frame_t *frame) { proto_item *f_item; proto_tree *f_tree; proto_item *flags1_item; proto_tree *flags1_tree; proto_item *flags2_item; proto_tree *flags2_tree; guint16 src_addr; guint16 dst_addr; guint16 wd_time; guint16 par_crc; guint32 ipar_crc; guint8 prm_flag1; guint8 prm_flag1_chck_seq; guint8 prm_flag1_chck_ipar; guint8 prm_flag1_sil; guint8 prm_flag1_crc_len; guint8 prm_flag1_crc_seed; guint8 prm_flag1_reserved; guint8 prm_flag2; guint8 prm_flag2_reserved; guint8 prm_flag2_f_block_id; guint8 prm_flag2_f_par_version; conversation_t *conversation; stationInfo *station_info; ioDataObject *io_data_object; wmem_list_frame_t *frame_out; f_item = proto_tree_add_item(tree, hf_pn_io_block, tvb, offset, 0, ENC_NA); f_tree = proto_item_add_subtree(f_item, ett_pn_io_profisafe_f_parameter); proto_item_set_text(f_item, "F-Parameter: "); flags1_item = proto_tree_add_item(f_tree, hf_pn_io_ps_f_prm_flag1, tvb, offset, 1, ENC_BIG_ENDIAN); flags1_tree = proto_item_add_subtree(flags1_item, ett_pn_io_profisafe_f_parameter_prm_flag1); /* dissection of F_Prm_Flag1 */ dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_chck_seq, &prm_flag1_chck_seq); dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_chck_ipar, &prm_flag1_chck_ipar); dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_sil, &prm_flag1_sil); dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_crc_len, &prm_flag1_crc_len); dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_crc_seed, &prm_flag1_crc_seed); dissect_dcerpc_uint8(tvb, offset, pinfo, flags1_tree, drep, hf_pn_io_ps_f_prm_flag1_reserved, &prm_flag1_reserved); prm_flag1 = prm_flag1_chck_seq|prm_flag1_chck_ipar|prm_flag1_sil|prm_flag1_crc_len|prm_flag1_crc_seed|prm_flag1_reserved; offset++; flags2_item = proto_tree_add_item(f_tree, hf_pn_io_ps_f_prm_flag2, tvb, offset, 1, ENC_BIG_ENDIAN); flags2_tree = proto_item_add_subtree(flags2_item, ett_pn_io_profisafe_f_parameter_prm_flag2); /* dissection of F_Prm_Flag2 */ dissect_dcerpc_uint8(tvb, offset, pinfo, flags2_tree, drep, hf_pn_io_ps_f_prm_flag2_reserved, &prm_flag2_reserved); dissect_dcerpc_uint8(tvb, offset, pinfo, flags2_tree, drep, hf_pn_io_ps_f_prm_flag2_f_block_id, &prm_flag2_f_block_id); dissect_dcerpc_uint8(tvb, offset, pinfo, flags2_tree, drep, hf_pn_io_ps_f_prm_flag2_f_par_version, &prm_flag2_f_par_version); prm_flag2 = prm_flag2_reserved|prm_flag2_f_block_id|prm_flag2_f_par_version; offset++; offset = dissect_dcerpc_uint16(tvb, offset, pinfo, f_item, drep, hf_pn_io_ps_f_src_adr, &src_addr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, f_item, drep, hf_pn_io_ps_f_dest_adr, &dst_addr); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, f_item, drep, hf_pn_io_ps_f_wd_time, &wd_time); /* Dissection for F_iPar_CRC: see F_Prm_Flag2 -> F_Block_ID */ if( (prm_flag2_f_block_id & 0x08) && !(prm_flag2_f_block_id & 0x20) ) { offset = dissect_dcerpc_uint32(tvb, offset, pinfo, f_item, drep, hf_pn_io_ps_f_ipar_crc, &ipar_crc); } offset = dissect_dcerpc_uint16(tvb, offset, pinfo, f_item, drep, hf_pn_io_ps_f_par_crc, &par_crc); /* Differniate between ipar_crc and no_ipar_crc */ if( (prm_flag2_f_block_id & 0x08) && !(prm_flag2_f_block_id & 0x20) ) { /* include ipar_crc display */ col_append_fstr(pinfo->cinfo, COL_INFO, ", F-Parameter record, prm_flag1:0x%02x, prm_flag2:0x%02x, src:0x%04x," " dst:0x%04x, wd_time:%d, ipar_crc:0x%04x, crc:0x%04x", prm_flag1, prm_flag2, src_addr, dst_addr, wd_time, ipar_crc, par_crc); proto_item_append_text(f_item, "prm_flag1:0x%02x, prm_flag2:0x%02x, src:0x%04x, dst:0x%04x, wd_time:%d, ipar_crc:0x%04x, par_crc:0x%04x", prm_flag1, prm_flag2, src_addr, dst_addr, wd_time, ipar_crc, par_crc); } else { /* exclude ipar_crc display */ col_append_fstr(pinfo->cinfo, COL_INFO, ", F-Parameter record, prm_flag1:0x%02x, prm_flag2:0x%02x, src:0x%04x," " dst:0x%04x, wd_time:%d, crc:0x%04x", prm_flag1, prm_flag2, src_addr, dst_addr, wd_time, par_crc); proto_item_append_text(f_item, "prm_flag1:0x%02x, prm_flag2:0x%02x, src:0x%04x, dst:0x%04x, wd_time:%d, par_crc:0x%04x", prm_flag1, prm_flag2, src_addr, dst_addr, wd_time, par_crc); } if (!pinfo->fd->flags.visited) { /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info != NULL) { if (frame != NULL) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame); io_data_object->f_par_crc1 = par_crc; io_data_object->f_src_adr = src_addr; io_data_object->f_dest_adr = dst_addr; io_data_object->f_crc_seed = prm_flag1 & 0x40; if (!(prm_flag1 & 0x10)) { if (prm_flag1 & 0x20) { io_data_object->f_crc_len = 4; } else { io_data_object->f_crc_len = 3; } } } /* Find same module within output data to saved data */ for (frame_out = wmem_list_head(station_info->ioobject_data_out); frame_out != NULL; frame_out = wmem_list_frame_next(frame_out)) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame_out); if (u16Index == io_data_object->fParameterIndexNr && /* Check F-Parameter Indexnumber */ io_data_object->profisafeSupported && /* Arrayelement has to be PS-Module */ io_data_object->f_par_crc1 == 0) { /* Find following object with no f_par_crc1 */ io_data_object->f_par_crc1 = par_crc; io_data_object->f_src_adr = src_addr; io_data_object->f_dest_adr = dst_addr; io_data_object->f_crc_seed = prm_flag1 & 0x40; if (!(prm_flag1 & 0x10)) { if (prm_flag1 & 0x20) { io_data_object->f_crc_len = 4; } else { io_data_object->f_crc_len = 3; } } break; } } } } return offset; } static int dissect_RecordDataWrite(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, guint16 u16Index, guint32 u32RecDataLen) { conversation_t *conversation; stationInfo *station_info; wmem_list_frame_t *frame; ioDataObject *io_data_object; const gchar *userProfile; pnio_ar_t *ar = NULL; /* PROFISafe */ /* Get current conversation endpoints using MAC addresses */ conversation = find_conversation(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->dl_src, &pinfo->dl_dst, PT_NONE, 0, 0, 0); } station_info = (stationInfo*)conversation_get_proto_data(conversation, proto_pn_dcp); if (station_info != NULL) { if (!pinfo->fd->flags.visited) { /* Search within the entire existing list for current input object data */ for (frame = wmem_list_head(station_info->ioobject_data_in); frame != NULL; frame = wmem_list_frame_next(frame)) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame); if (u16Index == io_data_object->fParameterIndexNr && /* Check F-Parameter Indexnumber */ io_data_object->profisafeSupported && /* Arrayelement has to be PS-Module */ io_data_object->f_par_crc1 == 0) { /* Find following object with no f_par_crc1 */ return dissect_ProfiSafeParameterRequest(tvb, offset, pinfo, tree, drep, u16Index, frame); } } } else { /* User clicked another time the frame to see the data -> PROFIsafe data has already been saved * Check whether the device contains an PROFIsafe supported submodule. */ for (frame = wmem_list_head(station_info->ioobject_data_in); frame != NULL; frame = wmem_list_frame_next(frame)) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame); if (u16Index == io_data_object->fParameterIndexNr && /* Check F-Parameter Indexnumber */ io_data_object->profisafeSupported) { /* Arrayelement has to be PS-Module */ return dissect_ProfiSafeParameterRequest(tvb, offset, pinfo, tree, drep, u16Index, frame); } } for (frame = wmem_list_head(station_info->ioobject_data_out); frame != NULL; frame = wmem_list_frame_next(frame)) { io_data_object = (ioDataObject*)wmem_list_frame_data(frame); if (u16Index == io_data_object->fParameterIndexNr && /* Check F-Parameter Indexnumber */ io_data_object->profisafeSupported) { /* Arrayelement has to be PS-Module */ return dissect_ProfiSafeParameterRequest(tvb, offset, pinfo, tree, drep, u16Index, frame); } } } } /* user specified format? */ if (u16Index < 0x8000) { return dissect_pn_user_data(tvb, offset, pinfo, tree, u32RecDataLen, "User Specified Data"); } /* profidrive parameter request */ if (u16Index == 0xb02e || u16Index == 0xb02f) { return dissect_ProfiDriveParameterRequest(tvb, offset, pinfo, tree, drep); } /* "reserved for profiles"? */ userProfile = indexReservedForProfiles(u16Index); if (userProfile != NULL) { offset = dissect_pn_user_data(tvb, offset, pinfo, tree, u32RecDataLen, userProfile); return offset; } /* see: pn_io_index */ switch (u16Index) { case(0x8020): /* PDIRSubframeData */ case(0x801e): /* SubstituteValues for one subslot */ case(0x802b): /* PDPortDataCheck for one subslot */ case(0x802c): /* PDirData for one subslot */ case(0x802d): /* Expected PDSyncData for one subslot with SyncID value 0 for PTCPoverRTA */ case(0x802e): /* Expected PDSyncData for one subslot with SyncID value 0 for PTCPoverRTC */ case(0x802f): /* PDPortDataAdjust for one subslot */ case(0x8030): /* IsochronousModeData for one subslot */ case(0x8051): /* PDInterfaceMrpDataCheck for one subslot */ case(0x8052): /* PDInterfaceMrpDataAdjust for one subslot */ case(0x8053): /* PDPortMrpDataAdjust for one subslot */ case(0x8061): /* PDPortFODataCheck for one subslot */ case(0x8062): /* PDPortFODataAdjust for one subslot */ case(0x8070): /* PDNCDataCheck for one subslot */ case(0x8071): /* PDInterfaceAdjust */ case(0x8090): /* PDInterfaceFSUDataAdjust */ case(0x80B0): /* CombinedObjectContainer*/ case(0xe030): /* IsochronousModeData for one AR */ case(0xe050): /* FastStartUp data for one AR */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); break; default: offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, u32RecDataLen); } return offset; } static int dissect_IODWriteReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, pnio_ar_t **ar) { guint16 u16Index = 0; guint32 u32RecDataLen = 0; /* IODWriteHeader */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, ar); /* IODWriteMultipleReq? */ if (u16Index == 0xe040) { while (tvb_captured_length_remaining(tvb, offset) > 0) { offset = dissect_IODWriteReq(tvb, offset, pinfo, tree, drep, ar); } } else { tvbuff_t *new_tvb = tvb_new_subset_length(tvb, offset, u32RecDataLen); /* RecordDataWrite */ offset += dissect_RecordDataWrite(new_tvb, 0, pinfo, tree, drep, u16Index, u32RecDataLen); /* Padding */ switch (offset % 4) { case(3): offset += 1; break; case(2): offset += 2; break; case(1): offset += 3; break; } } return offset; } /* dissect a PN-IO write request */ static int dissect_IPNIO_Write_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { pnio_ar_t *ar = NULL; offset = dissect_IPNIO_rqst_header(tvb, offset, pinfo, tree, di, drep); offset = dissect_IODWriteReq(tvb, offset, pinfo, tree, drep, &ar); if (ar != NULL) { pnio_ar_info(tvb, pinfo, tree, ar); } return offset; } static int dissect_IODWriteRes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; /* IODWriteResHeader */ offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); /* IODWriteMultipleRes? */ if (u16Index == 0xe040) { while (tvb_captured_length_remaining(tvb, offset) > 0) { offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, &ar); } } if (ar != NULL) { pnio_ar_info(tvb, pinfo, tree, ar); } return offset; } /* dissect a PN-IO write response */ static int dissect_IPNIO_Write_resp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_IPNIO_resp_header(tvb, offset, pinfo, tree, di, drep); offset = dissect_IODWriteRes(tvb, offset, pinfo, tree, drep); return offset; } /* dissect the IOxS (IOCS, IOPS) field */ static int dissect_PNIO_IOxS(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, guint8 *drep _U_, int hfindex) { if (tree) { guint8 u8IOxS; proto_item *ioxs_item; proto_tree *ioxs_tree; u8IOxS = tvb_get_guint8(tvb, offset); /* add ioxs subtree */ ioxs_item = proto_tree_add_uint(tree, hfindex, tvb, offset, 1, u8IOxS); proto_item_append_text(ioxs_item, " (%s%s)", (u8IOxS & 0x01) ? "another IOxS follows " : "", (u8IOxS & 0x80) ? "good" : "bad"); ioxs_tree = proto_item_add_subtree(ioxs_item, ett_pn_io_ioxs); proto_tree_add_uint(ioxs_tree, hf_pn_io_ioxs_datastate, tvb, offset, 1, u8IOxS); proto_tree_add_uint(ioxs_tree, hf_pn_io_ioxs_instance, tvb, offset, 1, u8IOxS); proto_tree_add_uint(ioxs_tree, hf_pn_io_ioxs_res14, tvb, offset, 1, u8IOxS); proto_tree_add_uint(ioxs_tree, hf_pn_io_ioxs_extension, tvb, offset, 1, u8IOxS); } return offset + 1; } /* dissect a PN-IO Cyclic Service Data Unit (on top of PN-RT protocol) */ static int dissect_PNIO_C_SDU(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep _U_) { proto_tree *data_tree = NULL; /* gint iTotalLen = 0; */ /* gint iSubFrameLen = 0; */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "PNIO"); if (tree) { proto_item *data_item; data_item = proto_tree_add_protocol_format(tree, proto_pn_io, tvb, offset, tvb_captured_length(tvb), "PROFINET IO Cyclic Service Data Unit: %u bytes", tvb_captured_length(tvb)); data_tree = proto_item_add_subtree(data_item, ett_pn_io_rtc); } /*dissect_dcerpc_uint16(tvb, offset, pinfo, data_tree, drep, hf_pn_io_packedframe_SFCRC, &u16SFCRC);*/ if (dissect_CSF_SDU_heur(tvb, pinfo, data_tree, NULL)) return(tvb_captured_length(tvb)); /* XXX - dissect the remaining data */ /* this will be one or more DataItems followed by an optional GAP and RTCPadding */ /* as we don't have the required context information to dissect the specific DataItems, */ /* this will be tricky :-( */ /* actual: there may be an IOxS but most case there isn't so better display a data-stream */ /* offset = dissect_PNIO_IOxS(tvb, offset, pinfo, data_tree, drep, hf_pn_io_ioxs); */ offset = dissect_pn_user_data(tvb, offset, pinfo, tree, tvb_captured_length_remaining(tvb, offset), "User Data (including GAP and RTCPadding)"); return offset; } /* dissect a PN-IO RTA PDU (on top of PN-RT protocol) */ static int dissect_PNIO_RTA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint16 u16AlarmDstEndpoint; guint16 u16AlarmSrcEndpoint; guint8 u8PDUType; guint8 u8PDUVersion; guint8 u8WindowSize; guint8 u8Tack; guint16 u16SendSeqNum; guint16 u16AckSeqNum; guint16 u16VarPartLen; int start_offset = offset; guint16 u16Index = 0; guint32 u32RecDataLen; pnio_ar_t *ar = NULL; proto_item *rta_item; proto_tree *rta_tree; proto_item *sub_item; proto_tree *sub_tree; col_set_str(pinfo->cinfo, COL_PROTOCOL, "PNIO-AL"); rta_item = proto_tree_add_protocol_format(tree, proto_pn_io, tvb, offset, tvb_captured_length(tvb), "PROFINET IO Alarm"); rta_tree = proto_item_add_subtree(rta_item, ett_pn_io_rta); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, rta_tree, drep, hf_pn_io_alarm_dst_endpoint, &u16AlarmDstEndpoint); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, rta_tree, drep, hf_pn_io_alarm_src_endpoint, &u16AlarmSrcEndpoint); col_append_fstr(pinfo->cinfo, COL_INFO, ", Src: 0x%x, Dst: 0x%x", u16AlarmSrcEndpoint, u16AlarmDstEndpoint); /* PDU type */ sub_item = proto_tree_add_item(rta_tree, hf_pn_io_pdu_type, tvb, offset, 1, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_pdu_type); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_pdu_type_type, &u8PDUType); u8PDUType &= 0x0F; offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_pdu_type_version, &u8PDUVersion); u8PDUVersion >>= 4; proto_item_append_text(sub_item, ", Type: %s, Version: %u", val_to_str(u8PDUType, pn_io_pdu_type, "Unknown"), u8PDUVersion); /* additional flags */ sub_item = proto_tree_add_item(rta_tree, hf_pn_io_add_flags, tvb, offset, 1, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_pn_io_add_flags); dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_window_size, &u8WindowSize); u8WindowSize &= 0x0F; offset = dissect_dcerpc_uint8(tvb, offset, pinfo, sub_tree, drep, hf_pn_io_tack, &u8Tack); u8Tack >>= 4; proto_item_append_text(sub_item, ", Window Size: %u, Tack: %u", u8WindowSize, u8Tack); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, rta_tree, drep, hf_pn_io_send_seq_num, &u16SendSeqNum); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, rta_tree, drep, hf_pn_io_ack_seq_num, &u16AckSeqNum); offset = dissect_dcerpc_uint16(tvb, offset, pinfo, rta_tree, drep, hf_pn_io_var_part_len, &u16VarPartLen); switch ( u8PDUType & 0x0F) { case(1): /* Data-RTA */ col_append_str(pinfo->cinfo, COL_INFO, ", Data-RTA"); offset = dissect_block(tvb, offset, pinfo, rta_tree, drep, &u16Index, &u32RecDataLen, &ar); break; case(2): /* NACK-RTA */ col_append_str(pinfo->cinfo, COL_INFO, ", NACK-RTA"); /* no additional data */ break; case(3): /* ACK-RTA */ col_append_str(pinfo->cinfo, COL_INFO, ", ACK-RTA"); /* no additional data */ break; case(4): /* ERR-RTA */ col_append_str(pinfo->cinfo, COL_INFO, ", ERR-RTA"); offset = dissect_PNIO_status(tvb, offset, pinfo, rta_tree, drep); break; default: offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, tvb_captured_length(tvb)); } proto_item_set_len(rta_item, offset - start_offset); return offset; } /* possibly dissect a PN-IO related PN-RT packet */ static gboolean dissect_PNIO_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { guint8 drep_data = 0; guint8 *drep = &drep_data; guint8 u8CBAVersion; /* the sub tvb will NOT contain the frame_id here! */ guint16 u16FrameID = GPOINTER_TO_UINT(data); heur_dtbl_entry_t *hdtbl_entry; /* * In case the packet is a protocol encoded in the basic PNIO transport stream, * give that protocol a chance to make a heuristic dissection, before we continue * to dissect it as a normal PNIO packet. */ if (dissector_try_heuristic(heur_pn_subdissector_list, tvb, pinfo, tree, &hdtbl_entry, NULL)) return TRUE; u8CBAVersion = tvb_get_guint8 (tvb, 0); /* is this a (none DFP) PNIO class 3 data packet? */ /* frame id must be in valid range (cyclic Real-Time, class=3) */ if ((u16FrameID >= 0x0100 && u16FrameID <= 0x06FF) || /* RTC3 non redundant */ (u16FrameID >= 0x700 && u16FrameID <= 0x0fff)) { /* RTC3 redundant */ dissect_PNIO_C_SDU(tvb, 0, pinfo, tree, drep); return TRUE; } /* The following range is reserved for following developments */ /* frame id must be in valid range (Reserved) and * first byte (CBA version field) has to be != 0x11 */ if (u16FrameID >= 0x1000 && u16FrameID <= 0x7fff && u8CBAVersion != 0x11) { dissect_PNIO_C_SDU(tvb, 0, pinfo, tree, drep); return TRUE; } /* is this a PNIO class 1 data packet? */ /* frame id must be in valid range (cyclic Real-Time, class=1) and * first byte (CBA version field) has to be != 0x11 */ if (u16FrameID >= 0x8000 && u16FrameID < 0xbfff && u8CBAVersion != 0x11) { dissect_PNIO_C_SDU_RTC1(tvb, 0, pinfo, tree, drep); return TRUE; } /* is this a PNIO class 1 (legacy) data packet? */ /* frame id must be in valid range (cyclic Real-Time, class=1, legacy) and * first byte (CBA version field) has to be != 0x11 */ if (u16FrameID >= 0xc000 && u16FrameID < 0xfbff && u8CBAVersion != 0x11) { dissect_PNIO_C_SDU_RTC1(tvb, 0, pinfo, tree, drep); return TRUE; } /* is this a PNIO high priority alarm packet? */ if (u16FrameID == 0xfc01) { col_set_str(pinfo->cinfo, COL_INFO, "Alarm High"); dissect_PNIO_RTA(tvb, 0, pinfo, tree, drep); return TRUE; } /* is this a PNIO low priority alarm packet? */ if (u16FrameID == 0xfe01) { col_set_str(pinfo->cinfo, COL_INFO, "Alarm Low"); dissect_PNIO_RTA(tvb, 0, pinfo, tree, drep); return TRUE; } /* this PN-RT packet doesn't seem to be PNIO specific */ return FALSE; } static gboolean pn_io_ar_conv_valid(packet_info *pinfo) { void* profinet_type = p_get_proto_data(pinfo->pool, pinfo, proto_pn_io, 0); return ((profinet_type != NULL) && (GPOINTER_TO_UINT(profinet_type) == 10)); } static gchar * pn_io_ar_conv_filter(packet_info *pinfo) { pnio_ar_t *ar = (pnio_ar_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_pn_io, 0); void* profinet_type = p_get_proto_data(pinfo->pool, pinfo, proto_pn_io, 0); char *buf; address controllermac_addr, devicemac_addr; if ((profinet_type == NULL) || (GPOINTER_TO_UINT(profinet_type) != 10) || (ar == NULL)) { return NULL; } set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac); set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac); buf = g_strdup_printf( "pn_io.ar_uuid == %s || " /* ARUUID */ "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s) || " /* Alarm CR (contr -> dev) */ "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s)", /* Alarm CR (dev -> contr) */ guid_to_str(pinfo->pool, (const e_guid_t*) &ar->aruuid), ar->controlleralarmref, address_to_str(pinfo->pool, &controllermac_addr), ar->devicealarmref, address_to_str(pinfo->pool, &devicemac_addr)); return buf; } static gchar * pn_io_ar_conv_data_filter(packet_info *pinfo) { pnio_ar_t *ar = (pnio_ar_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_pn_io, 0); void* profinet_type = p_get_proto_data(pinfo->pool, pinfo, proto_pn_io, 0); char *buf, *controllermac_str, *devicemac_str, *guid_str; address controllermac_addr, devicemac_addr; if ((profinet_type == NULL) || (GPOINTER_TO_UINT(profinet_type) != 10) || (ar == NULL)) { return NULL; } set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac); set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac); controllermac_str = address_to_str(pinfo->pool, &controllermac_addr); devicemac_str = address_to_str(pinfo->pool, &devicemac_addr); guid_str = guid_to_str(pinfo->pool, (const e_guid_t*) &ar->aruuid); if (ar->arType == 0x0010) /* IOCARSingle using RT_CLASS_3 */ { buf = g_strdup_printf( "pn_io.ar_uuid == %s || " /* ARUUID */ "(pn_rt.frame_id == 0x%x) || (pn_rt.frame_id == 0x%x) || " "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s) || " /* Alarm CR (contr -> dev) */ "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s)", /* Alarm CR (dev -> contr) */ guid_str, ar->inputframeid, ar->outputframeid, ar->controlleralarmref, controllermac_str, ar->devicealarmref, devicemac_str); } else { buf = g_strdup_printf( "pn_io.ar_uuid == %s || " /* ARUUID */ "(pn_rt.frame_id == 0x%x && eth.src == %s && eth.dst == %s) || " /* Input CR && dev MAC -> contr MAC */ "(pn_rt.frame_id == 0x%x && eth.src == %s && eth.dst == %s) || " /* Output CR && contr MAC -> dev MAC */ "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s) || " /* Alarm CR (contr -> dev) */ "(pn_io.alarm_src_endpoint == 0x%x && eth.src == %s)", /* Alarm CR (dev -> contr) */ guid_str, ar->inputframeid, devicemac_str, controllermac_str, ar->outputframeid, controllermac_str, devicemac_str, ar->controlleralarmref, controllermac_str, ar->devicealarmref, devicemac_str); } return buf; } /* the PNIO dcerpc interface table */ static dcerpc_sub_dissector pn_io_dissectors[] = { { 0, "Connect", dissect_IPNIO_rqst, dissect_IPNIO_resp }, { 1, "Release", dissect_IPNIO_rqst, dissect_IPNIO_resp }, { 2, "Read", dissect_IPNIO_rqst, dissect_IPNIO_Read_resp }, { 3, "Write", dissect_IPNIO_Write_rqst, dissect_IPNIO_Write_resp }, { 4, "Control", dissect_IPNIO_rqst, dissect_IPNIO_resp }, { 5, "Read Implicit", dissect_IPNIO_rqst, dissect_IPNIO_Read_resp }, { 0, NULL, NULL, NULL } }; static void pnio_cleanup(void) { g_list_free(pnio_ars); pnio_ars = NULL; } void proto_register_pn_io (void) { static hf_register_info hf[] = { { &hf_pn_io_opnum, { "Operation", "pn_io.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_reserved16, { "Reserved", "pn_io.reserved16", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_array, { "Array", "pn_io.array", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_status, { "Status", "pn_io.status", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_args_max, { "ArgsMaximum", "pn_io.args_max", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_args_len, { "ArgsLength", "pn_io.args_len", FT_UINT32, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_array_max_count, { "MaximumCount", "pn_io.array_max_count", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_array_offset, { "Offset", "pn_io.array_offset", FT_UINT32, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_array_act_count, { "ActualCount", "pn_io.array_act_count", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_data, { "ARDATA for AR:", "pn_io.ar_data", FT_NONE, BASE_NONE, 0x0, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_type, { "ARType", "pn_io.ar_type", FT_UINT16, BASE_HEX, VALS(pn_io_ar_type), 0x0, NULL, HFILL } }, { &hf_pn_io_cminitiator_macadd, { "CMInitiatorMacAdd", "pn_io.cminitiator_mac_add", FT_ETHER, BASE_NONE, 0x0, 0x0, NULL, HFILL } }, { &hf_pn_io_cminitiator_objectuuid, { "CMInitiatorObjectUUID", "pn_io.cminitiator_uuid", FT_GUID, BASE_NONE, 0x0, 0x0, NULL, HFILL } }, { &hf_pn_io_parameter_server_objectuuid, { "ParameterServerObjectUUID", "pn_io.parameter_server_objectuuid", FT_GUID, BASE_NONE, 0x0, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_properties, { "ARProperties", "pn_io.ar_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_properties_state, { "State", "pn_io.ar_properties.state", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_state), 0x00000007, NULL, HFILL } }, { &hf_pn_io_ar_properties_supervisor_takeover_allowed, { "SupervisorTakeoverAllowed", "pn_io.ar_properties.supervisor_takeover_allowed", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_supervisor_takeover_allowed), 0x00000008, NULL, HFILL } }, { &hf_pn_io_ar_properties_parametrization_server, { "ParametrizationServer", "pn_io.ar_properties.parametrization_server", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_parametrization_server), 0x00000010, NULL, HFILL } }, { &hf_pn_io_artype_req, { "ARType", "pn_io.artype_req", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_pn_io_ar_properties_companion_ar, { "CompanionAR", "pn_io.ar_properties.companion_ar", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_companion_ar), 0x00000600, NULL, HFILL } }, { &hf_pn_io_ar_properties_achnowledge_companion_ar, { "AcknowledgeCompanionAR", "pn_io.ar_properties.acknowledge_companion_ar", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_acknowldege_companion_ar), 0x00000800, NULL, HFILL } }, { &hf_pn_io_ar_properties_reserved, { "Reserved", "pn_io.ar_properties.reserved", FT_UINT32, BASE_HEX, NULL, 0x1FFFF000, NULL, HFILL } }, { &your_sha256_hashrtupmode, { "CombinedObjectContainer", "pn_io.ar_properties.combined_object_container", FT_UINT32, BASE_HEX, VALS(your_sha256_hashmode), 0x20000000, NULL, HFILL } }, { &your_sha256_hashtartupmode, { "CombinedObjectContainer", "pn_io.ar_properties.combined_object_container", FT_UINT32, BASE_HEX, VALS(your_sha256_hashupmode), 0x20000000, NULL, HFILL } }, { &hf_pn_io_arproperties_StartupMode, { "StartupMode", "pn_io.ar_properties.StartupMode", FT_UINT32, BASE_HEX, VALS(pn_io_arpropertiesStartupMode), 0x40000000, NULL, HFILL } }, { &hf_pn_io_ar_properties_pull_module_alarm_allowed, { "PullModuleAlarmAllowed", "pn_io.ar_properties.pull_module_alarm_allowed", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_pull_module_alarm_allowed), 0x80000000, NULL, HFILL } }, { &hf_pn_RedundancyInfo, { "RedundancyInfo.EndPoint", "pn_io.srl_data.redundancyInfo", FT_UINT16, BASE_HEX, VALS(pn_io_RedundancyInfo), 0x0000003, NULL, HFILL } }, { &hf_pn_RedundancyInfo_reserved, { "RedundancyInfo.reserved", "pn_io.srl_data.redundancyInfoReserved", FT_UINT16, BASE_HEX, NULL, 0xFFFFFFFC, NULL, HFILL } }, { &hf_pn_io_number_of_ARDATAInfo, { "ARDataInfo.NumberOfEntries", "pn_io.number_of_ARDATAInfo", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_cminitiator_activitytimeoutfactor, { "CMInitiatorActivityTimeoutFactor", "pn_io.cminitiator_activitytimeoutfactor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_cminitiator_udprtport, { "CMInitiatorUDPRTPort", "pn_io.cminitiator_udprtport", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_station_name_length, { "StationNameLength", "pn_io.station_name_length", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_cminitiator_station_name, { "CMInitiatorStationName", "pn_io.cminitiator_station_name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_parameter_server_station_name, { "ParameterServerStationName", "pn_io.parameter_server_station_name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_cmresponder_macadd, { "CMResponderMacAdd", "pn_io.cmresponder_macadd", FT_ETHER, BASE_NONE, 0x0, 0x0, NULL, HFILL } }, { &hf_pn_io_cmresponder_udprtport, { "CMResponderUDPRTPort", "pn_io.cmresponder_udprtport", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_number_of_iocrs, { "NumberOfIOCRs", "pn_io.number_of_iocrs", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_tree, { "IOCR", "pn_io.iocr_tree", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_type, { "IOCRType", "pn_io.iocr_type", FT_UINT16, BASE_HEX, VALS(pn_io_iocr_type), 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_reference, { "IOCRReference", "pn_io.iocr_reference", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_SubframeOffset, { "-> SubframeOffset", "pn_io.subframe_offset", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_SubframeData, { "SubframeData", "pn_io.subframe_data", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_RedundancyDataHoldFactor, { "RedundancyDataHoldFactor", "pn_io.RedundancyDataHoldFactor", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sr_properties, { "SRProperties", "pn_io.sr_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sr_properties_InputValidOnBackupAR, { "InputValidOnBackupAR", "pn_io.sr_properties.InputValidOnBackupAR", FT_UINT32, BASE_HEX, VALS(pn_io_sr_properties_BackupAR), 0x01, NULL, HFILL } }, { &hf_pn_io_sr_properties_ActivateRedundancyAlarm, { "ActivateRedundancyAlarm", "pn_io.sr_properties.ActivateRedundancyAlarm", FT_UINT32, BASE_HEX, VALS(pn_io_sr_properties_ActivateRedundancyAlarm), 0x02, NULL, HFILL } }, { &hf_pn_io_sr_properties_Reserved_1, { "Reserved_1", "pn_io.sr_properties.Reserved_1", FT_UINT32, BASE_HEX, NULL, 0x0FFFC, NULL, HFILL } }, { &hf_pn_io_sr_properties_Reserved_2, { "Reserved_2", "pn_io.sr_properties.Reserved_2", FT_UINT32, BASE_HEX, NULL, 0x0FFFF0000, NULL, HFILL } }, { &hf_pn_io_arvendor_strucidentifier_if0_low, { "APStructureIdentifier: Vendor specific", "pn_io.structidentifier_api_0_low", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_arvendor_strucidentifier_if0_high, { "APStructureIdentifier: Administrative number for common profiles", "pn_io.structidentifier_api_0_high", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_arvendor_strucidentifier_if0_is8000, { "APStructureIdentifier: Extended identification rules", "pn_io.tructidentifier_api_0_is8000", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_arvendor_strucidentifier_not0, { "APStructureIdentifier: Administrative number for application profiles", "pn_io.tructidentifier_api_not_0", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_lt, { "LT", "pn_io.lt", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_properties, { "IOCRProperties", "pn_io.iocr_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_properties_rtclass, { "RTClass", "pn_io.iocr_properties.rtclass", FT_UINT32, BASE_HEX, VALS(pn_io_iocr_properties_rtclass), 0x0000000F, NULL, HFILL } }, { &hf_pn_io_iocr_properties_reserved_1, { "Reserved1", "pn_io.iocr_properties.reserved1", FT_UINT32, BASE_HEX, NULL, 0x00000FF0, NULL, HFILL } }, { &hf_pn_io_iocr_properties_media_redundancy, { "MediaRedundancy", "pn_io.iocr_properties.media_redundancy", FT_UINT32, BASE_HEX, VALS(pn_io_iocr_properties_media_redundancy), 0x00000800, NULL, HFILL } }, { &hf_pn_io_iocr_properties_reserved_2, { "Reserved2", "pn_io.iocr_properties.reserved2", FT_UINT32, BASE_HEX, NULL, 0x00FFF000, NULL, HFILL } }, { &hf_pn_io_iocr_properties_reserved_3, { "Reserved3", "pn_io.iocr_properties.reserved3", FT_UINT32, BASE_HEX, NULL, 0xF000000, NULL, HFILL } }, { &hf_pn_io_iocr_properties_fast_forwarding_mac_adr, { "FastForwardingMACAdr", "pn_io.iocr_properties.fast_forwarding_mac_adr", FT_UINT32, BASE_HEX, NULL, 0x20000000, NULL, HFILL } }, { &hf_pn_io_iocr_properties_distributed_subframe_watchdog, { "DistributedSubFrameWatchDog", "pn_io.iocr_properties.distributed_subframe_watchdog", FT_UINT32, BASE_HEX, NULL, 0x40000000, NULL, HFILL } }, { &hf_pn_io_iocr_properties_full_subframe_structure, { "FullSubFrameStructure", "pn_io.iocr_properties.full_subframe_structure", FT_UINT32, BASE_HEX, NULL, 0x80000000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties, { "SFIOCRProperties", "pn_io.SFIOCRProperties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_DistributedWatchDogFactor, { "SFIOCRProperties.DistributedWatchDogFactor", "pn_io.SFIOCRProperties.DistributedWatchDogFactor", FT_UINT32, BASE_HEX, NULL, 0x0FF, NULL, HFILL } }, { &hf_pn_io_RestartFactorForDistributedWD, { "SFIOCRProperties.RestartFactorForDistributedWD", "pn_io.SFIOCRProperties.RestartFactorForDistributedWD", FT_UINT32, BASE_HEX, NULL, 0xff00, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_DFPmode, { "SFIOCRProperties.DFPmode", "pn_io.SFIOCRProperties.DFPmode", FT_UINT32, BASE_HEX, NULL, 0xFF0000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_reserved_1, { "SFIOCRProperties.reserved_1", "pn_io.SFIOCRProperties.reserved_1", FT_UINT32, BASE_HEX, NULL, 0x0F000000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_reserved_2, { "SFIOCRProperties.reserved_2", "pn_io.SFIOCRProperties.reserved_2", FT_UINT32, BASE_HEX, NULL, 0x010000000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_DFPType, { "SFIOCRProperties.DFPType", "pn_io.SFIOCRProperties.DFPType", FT_UINT32, BASE_HEX, VALS(pn_io_SFIOCRProperties_DFPType_vals), 0x020000000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_DFPRedundantPathLayout, { "SFIOCRProperties.DFPRedundantPathLayout", "pn_io.SFIOCRProperties.DFPRedundantPathLayout", FT_UINT32, BASE_HEX, VALS(pn_io_DFPRedundantPathLayout_decode), 0x040000000, NULL, HFILL } }, { &hf_pn_io_SFIOCRProperties_SFCRC16, { "SFIOCRProperties.SFCRC16", "pn_io.SFIOCRProperties.SFCRC16", FT_UINT32, BASE_HEX, VALS(pn_io_SFCRC16_Decode), 0x080000000, NULL, HFILL } }, { &hf_pn_io_data_length, { "DataLength", "pn_io.data_length", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ir_frame_data, { "Frame data", "pn_io.ir_frame_data", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_id, { "FrameID", "pn_io.frame_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_send_clock_factor, { "SendClockFactor", "pn_io.send_clock_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_reduction_ratio, { "ReductionRatio", "pn_io.reduction_ratio", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_phase, { "Phase", "pn_io.phase", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sequence, { "Sequence", "pn_io.sequence", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_send_offset, { "FrameSendOffset", "pn_io.frame_send_offset", FT_UINT32, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_data_properties, { "FrameDataProperties", "pn_io.frame_data_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_data_properties_forwarding_Mode, { "ForwardingMode", "pn_io.frame_data_properties_forwardingMode", FT_UINT32, BASE_HEX, VALS(hf_pn_io_frame_data_properties_forwardingMode), 0x01, NULL, HFILL } }, { &hf_pn_io_frame_data_properties_FastForwardingMulticastMACAdd, { "FastForwardingMulticastMACAdd", "pn_io.frame_data_properties_MulticastMACAdd", FT_UINT32, BASE_HEX, VALS(hf_pn_io_frame_data_properties_FFMulticastMACAdd), 0x06, NULL, HFILL } }, { &hf_pn_io_frame_data_properties_FragmentMode, { "FragmentationMode", "pn_io.frame_data_properties_FragMode", FT_UINT32, BASE_HEX, VALS(hf_pn_io_frame_data_properties_FragMode), 0x18, NULL, HFILL } }, { &hf_pn_io_frame_data_properties_reserved_1, { "Reserved_1", "pn_io.frame_data.reserved_1", FT_UINT32, BASE_HEX, NULL, 0x0000FFE0, NULL, HFILL } }, { &hf_pn_io_frame_data_properties_reserved_2, { "Reserved_2", "pn_io.frame_data.reserved_2", FT_UINT32, BASE_HEX, NULL, 0xFFFF0000, NULL, HFILL } }, { &hf_pn_io_watchdog_factor, { "WatchdogFactor", "pn_io.watchdog_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_data_hold_factor, { "DataHoldFactor", "pn_io.data_hold_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_tag_header, { "IOCRTagHeader", "pn_io.iocr_tag_header", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocr_multicast_mac_add, { "IOCRMulticastMACAdd", "pn_io.iocr_multicast_mac_add", FT_ETHER, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_apis, { "NumberOfAPIs", "pn_io.number_of_apis", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_io_data_objects, { "NumberOfIODataObjects", "pn_io.number_of_io_data_objects", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_iocs, { "NumberOfIOCS", "pn_io.number_of_iocs", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocs_frame_offset, { "IOCSFrameOffset", "pn_io.iocs_frame_offset", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_alarmcr_type, { "AlarmCRType", "pn_io.alarmcr_type", FT_UINT16, BASE_HEX, VALS(pn_io_alarmcr_type), 0x0, NULL, HFILL } }, { &hf_pn_io_alarmcr_properties, { "AlarmCRProperties", "pn_io.alarmcr_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_alarmcr_properties_priority, { "priority", "pn_io.alarmcr_properties.priority", FT_UINT32, BASE_HEX, VALS(pn_io_alarmcr_properties_priority), 0x00000001, NULL, HFILL } }, { &hf_pn_io_alarmcr_properties_transport, { "Transport", "pn_io.alarmcr_properties.transport", FT_UINT32, BASE_HEX, VALS(pn_io_alarmcr_properties_transport), 0x00000002, NULL, HFILL } }, { &hf_pn_io_alarmcr_properties_reserved, { "Reserved", "pn_io.alarmcr_properties.reserved", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFFC, NULL, HFILL } }, { &hf_pn_io_rta_timeoutfactor, { "RTATimeoutFactor", "pn_io.rta_timeoutfactor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_rta_retries, { "RTARetries", "pn_io.rta_retries", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* XXX - only values 3 - 15 allowed */ { &hf_pn_io_localalarmref, { "LocalAlarmReference", "pn_io.localalarmref", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_remotealarmref, { "RemoteAlarmReference", "pn_io.remotealarmref", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - special values */ { &hf_pn_io_maxalarmdatalength, { "MaxAlarmDataLength", "pn_io.maxalarmdatalength", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - only values 200 - 1432 allowed */ { &hf_pn_io_alarmcr_tagheaderhigh, { "AlarmCRTagHeaderHigh", "pn_io.alarmcr_tagheaderhigh", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - 16 bitfield! */ { &hf_pn_io_alarmcr_tagheaderlow, { "AlarmCRTagHeaderLow", "pn_io.alarmcr_tagheaderlow", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - 16 bitfield!*/ { &hf_pn_io_api_tree, { "API", "pn_io.api_tree", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_module_tree, { "Module", "pn_io.module_tree", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_tree, { "Submodule", "pn_io.submodule_tree", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_io_data_object, { "IODataObject", "pn_io.io_data_object", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_io_data_object_frame_offset, { "IODataObjectFrameOffset", "pn_io.io_data_object.frame_offset", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_io_cs, { "IOCS", "pn_io.io_cs", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_substitutionmode, { "Substitutionmode", "pn_io.substitutionmode", FT_UINT16, BASE_HEX, VALS(pn_io_substitutionmode), 0x0, NULL, HFILL } }, { &hf_pn_io_IRData_uuid, { "IRDataUUID", "pn_io.IRData_uuid", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_uuid, { "ARUUID", "pn_io.ar_uuid", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_target_ar_uuid, { "TargetARUUID", "pn_io.target_ar_uuid", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_api, { "API", "pn_io.api", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_slot_nr, { "SlotNumber", "pn_io.slot_nr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_subslot_nr, { "SubslotNumber", "pn_io.subslot_nr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_index, { "Index", "pn_io.index", FT_UINT16, BASE_HEX, VALS(pn_io_index), 0x0, NULL, HFILL } }, { &hf_pn_io_seq_number, { "SeqNumber", "pn_io.seq_number", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_record_data_length, { "RecordDataLength", "pn_io.record_data_length", FT_UINT32, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_add_val1, { "AdditionalValue1", "pn_io.add_val1", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_add_val2, { "AdditionalValue2", "pn_io.add_val2", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_block_header, { "BlockHeader", "pn_io.block_header", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_block_type, { "BlockType", "pn_io.block_type", FT_UINT16, BASE_HEX, VALS(pn_io_block_type), 0x0, NULL, HFILL } }, { &hf_pn_io_block_length, { "BlockLength", "pn_io.block_length", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_block_version_high, { "BlockVersionHigh", "pn_io.block_version_high", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_block_version_low, { "BlockVersionLow", "pn_io.block_version_low", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sessionkey, { "SessionKey", "pn_io.session_key", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_control_command, { "ControlCommand", "pn_io.control_command", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_control_command_reserved, { "ControlBlockProperties.reserved", "pn_io.control_properties_reserved", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_control_command_prmend, { "PrmEnd", "pn_io.control_command.prmend", FT_UINT16, BASE_DEC, NULL, 0x0001, NULL, HFILL } }, { &hf_pn_io_control_command_applready, { "ApplicationReady", "pn_io.control_command.applready", FT_UINT16, BASE_DEC, NULL, 0x0002, NULL, HFILL } }, { &hf_pn_io_control_command_release, { "Release", "pn_io.control_command.release", FT_UINT16, BASE_DEC, NULL, 0x0004, NULL, HFILL } }, { &hf_pn_io_control_command_done, { "Done", "pn_io.control_command.done", FT_UINT16, BASE_DEC, NULL, 0x0008, NULL, HFILL } }, { &hf_pn_io_control_command_ready_for_companion, { "ReadyForCompanion", "pn_io.control_command.ready_for_companion", FT_UINT16, BASE_DEC, NULL, 0x0010, NULL, HFILL } }, { &hf_pn_io_control_command_ready_for_rt_class3, { "ReadyForRT Class 3", "pn_io.control_command.ready_for_rt_class3", FT_UINT16, BASE_DEC, NULL, 0x0020, NULL, HFILL } }, { &hf_pn_io_control_command_prmbegin, { "PrmBegin", "pn_io.control_command.prmbegin", FT_UINT16, BASE_DEC, VALS(pn_io_control_properties_prmbegin_vals), 0x0040, NULL, HFILL } }, { &hf_pn_io_control_command_reserved_7_15, { "ControlBlockProperties.reserved", "pn_io.control_properties_reserved_7_15", FT_UINT16, BASE_HEX, NULL, 0x0FF80, NULL, HFILL } }, { &hf_pn_io_control_block_properties, { "ControlBlockProperties", "pn_io.control_block_properties", FT_UINT16, BASE_HEX, VALS(pn_io_control_properties_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_control_block_properties_applready, { "ControlBlockProperties", "pn_io.control_block_properties.appl_ready", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_control_block_properties_applready0, { "ApplicationReady", "pn_io.control_block_properties.appl_ready0", FT_UINT16, BASE_HEX, VALS(pn_io_control_properties_application_ready_vals), 0x0001, NULL, HFILL } }, { &hf_pn_io_SubmoduleListEntries, { "NumberOfEntries", "pn_io.SubmoduleListEntries", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_error_code, { "ErrorCode", "pn_io.error_code", FT_UINT8, BASE_HEX, VALS(pn_io_error_code), 0x0, NULL, HFILL } }, { &hf_pn_io_error_decode, { "ErrorDecode", "pn_io.error_decode", FT_UINT8, BASE_HEX, VALS(pn_io_error_decode), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code1, { "ErrorCode1", "pn_io.error_code1", FT_UINT8, BASE_DEC, VALS(pn_io_error_code1), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code1_pniorw, { "ErrorCode1", "pn_io.error_code1", FT_UINT8, BASE_DEC, VALS(pn_io_error_code1_pniorw), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pniorw, { "ErrorCode2 for PNIORW is user specified!", "pn_io.error_code2", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_error_code1_pnio, { "ErrorCode1", "pn_io.error_code1", FT_UINT8, BASE_DEC, VALS(pn_io_error_code1_pnio), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_1, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_1), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_2, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_2), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_3, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_3), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_4, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_4), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_5, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_5), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_6, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_6), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_7, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_7), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_8, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_8), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_20, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_20), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_21, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_21), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_22, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_22), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_23, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_23), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_40, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_40), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_61, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_61), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_62, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_62), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_63, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_63), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_64, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_64), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_65, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_65), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_66, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_66), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_70, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_70), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_71, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_71), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_72, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_72), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_73, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_73), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_74, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_74), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_75, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_75), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_76, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_76), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_77, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_77), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_253, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_253), 0x0, NULL, HFILL } }, { &hf_pn_io_error_code2_pnio_255, { "ErrorCode2", "pn_io.error_code2", FT_UINT8, BASE_DEC, VALS(pn_io_error_code2_pnio_255), 0x0, NULL, HFILL } }, { &hf_pn_io_block, { "Block", "pn_io.block", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_alarm_type, { "AlarmType", "pn_io.alarm_type", FT_UINT16, BASE_HEX, VALS(pn_io_alarm_type), 0x0, NULL, HFILL } }, { &hf_pn_io_alarm_specifier, { "AlarmSpecifier", "pn_io.alarm_specifier", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_alarm_specifier_sequence, { "SequenceNumber", "pn_io.alarm_specifier.sequence", FT_UINT16, BASE_HEX, NULL, 0x07FF, NULL, HFILL } }, { &hf_pn_io_alarm_specifier_channel, { "ChannelDiagnosis", "pn_io.alarm_specifier.channel", FT_UINT16, BASE_HEX, NULL, 0x0800, NULL, HFILL } }, { &hf_pn_io_alarm_specifier_manufacturer, { "ManufacturerSpecificDiagnosis", "pn_io.alarm_specifier.manufacturer", FT_UINT16, BASE_HEX, NULL, 0x1000, NULL, HFILL } }, { &hf_pn_io_alarm_specifier_submodule, { "SubmoduleDiagnosisState", "pn_io.alarm_specifier.submodule", FT_UINT16, BASE_HEX, NULL, 0x2000, NULL, HFILL } }, { &hf_pn_io_alarm_specifier_ardiagnosis, { "ARDiagnosisState", "pn_io.alarm_specifier.ardiagnosis", FT_UINT16, BASE_HEX, NULL, 0x8000, NULL, HFILL } }, { &hf_pn_io_alarm_dst_endpoint, { "AlarmDstEndpoint", "pn_io.alarm_dst_endpoint", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_alarm_src_endpoint, { "AlarmSrcEndpoint", "pn_io.alarm_src_endpoint", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdu_type, { "PDUType", "pn_io.pdu_type", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdu_type_type, { "Type", "pn_io.pdu_type.type", FT_UINT8, BASE_HEX, VALS(pn_io_pdu_type), 0x0F, NULL, HFILL } }, { &hf_pn_io_pdu_type_version, { "Version", "pn_io.pdu_type.version", FT_UINT8, BASE_HEX, NULL, 0xF0, NULL, HFILL } }, { &hf_pn_io_add_flags, { "AddFlags", "pn_io.add_flags", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_window_size, { "WindowSize", "pn_io.window_size", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } }, { &hf_pn_io_tack, { "TACK", "pn_io.tack", FT_UINT8, BASE_HEX, NULL, 0xF0, NULL, HFILL } }, { &hf_pn_io_send_seq_num, { "SendSeqNum", "pn_io.send_seq_num", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ack_seq_num, { "AckSeqNum", "pn_io.ack_seq_num", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_var_part_len, { "VarPartLen", "pn_io.var_part_len", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_module_ident_number, { "ModuleIdentNumber", "pn_io.module_ident_number", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_ident_number, { "SubmoduleIdentNumber", "pn_io.submodule_ident_number", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_modules, { "NumberOfModules", "pn_io.number_of_modules", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_module_properties, { "ModuleProperties", "pn_io.module_properties", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_module_state, { "ModuleState", "pn_io.module_state", FT_UINT16, BASE_HEX, VALS(pn_io_module_state), 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_submodules, { "NumberOfSubmodules", "pn_io.number_of_submodules", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_properties, { "SubmoduleProperties", "pn_io.submodule_properties", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_properties_type, { "Type", "pn_io.submodule_properties.type", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_properties_type), 0x0003, NULL, HFILL } }, { &hf_pn_io_submodule_properties_shared_input, { "SharedInput", "pn_io.submodule_properties.shared_input", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_properties_shared_input), 0x0004, NULL, HFILL } }, { &your_sha256_hash, { "ReduceInputSubmoduleDataLength", "pn_io.submodule_properties.reduce_input_submodule_data_length", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_properties_reduce_input_submodule_data_length), 0x0008, NULL, HFILL } }, { &your_sha256_hashh, { "ReduceOutputSubmoduleDataLength", "pn_io.submodule_properties.reduce_output_submodule_data_length", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_properties_reduce_output_submodule_data_length), 0x0010, NULL, HFILL } }, { &hf_pn_io_submodule_properties_discard_ioxs, { "DiscardIOXS", "pn_io.submodule_properties.discard_ioxs", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_properties_discard_ioxs), 0x0020, NULL, HFILL } }, { &hf_pn_io_submodule_properties_reserved, { "Reserved", "pn_io.submodule_properties.reserved", FT_UINT16, BASE_HEX, NULL, 0xFFC0, NULL, HFILL } }, { &hf_pn_io_submodule_state, { "SubmoduleState", "pn_io.submodule_state", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_state_format_indicator, { "FormatIndicator", "pn_io.submodule_state.format_indicator", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_format_indicator), 0x8000, NULL, HFILL } }, { &hf_pn_io_submodule_state_add_info, { "AddInfo", "pn_io.submodule_state.add_info", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_add_info), 0x0007, NULL, HFILL } }, { &hf_pn_io_submodule_state_qualified_info, { "QualifiedInfo", "pn_io.submodule_state.qualified_info", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_qualified_info), 0x0008, NULL, HFILL } }, { &hf_pn_io_submodule_state_maintenance_required, { "MaintenanceRequired", "pn_io.submodule_state.maintenance_required", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_maintenance_required), 0x0010, NULL, HFILL } }, { &hf_pn_io_submodule_state_maintenance_demanded, { "MaintenanceDemanded", "pn_io.submodule_state.maintenance_demanded", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_maintenance_demanded), 0x0020, NULL, HFILL } }, { &hf_pn_io_submodule_state_diag_info, { "DiagInfo", "pn_io.submodule_state.diag_info", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_diag_info), 0x0040, NULL, HFILL } }, { &hf_pn_io_submodule_state_ar_info, { "ARInfo", "pn_io.submodule_state.ar_info", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_ar_info), 0x0780, NULL, HFILL } }, { &hf_pn_io_submodule_state_ident_info, { "IdentInfo", "pn_io.submodule_state.ident_info", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_ident_info), 0x7800, NULL, HFILL } }, { &hf_pn_io_submodule_state_detail, { "Detail", "pn_io.submodule_state.detail", FT_UINT16, BASE_HEX, VALS(pn_io_submodule_state_detail), 0x7FFF, NULL, HFILL } }, { &hf_pn_io_data_description_tree, { "DataDescription", "pn_io.data_description_tree", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_data_description, { "DataDescription", "pn_io.data_description", FT_UINT16, BASE_HEX, VALS(pn_io_data_description), 0x0, NULL, HFILL } }, { &hf_pn_io_submodule_data_length, { "SubmoduleDataLength", "pn_io.submodule_data_length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_iocs, { "LengthIOCS", "pn_io.length_iocs", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_iops, { "LengthIOPS", "pn_io.length_iops", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iocs, { "IOCS", "pn_io.ioxs", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_iops, { "IOPS", "pn_io.ioxs", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ioxs_extension, { "Extension (1:another IOxS follows/0:no IOxS follows)", "pn_io.ioxs.extension", FT_UINT8, BASE_HEX, NULL, 0x01, NULL, HFILL } }, { &hf_pn_io_ioxs_res14, { "Reserved (should be zero)", "pn_io.ioxs.res14", FT_UINT8, BASE_HEX, NULL, 0x1E, NULL, HFILL } }, { &hf_pn_io_ioxs_instance, { "Instance (only valid, if DataState is bad)", "pn_io.ioxs.instance", FT_UINT8, BASE_HEX, VALS(pn_io_ioxs), 0x60, NULL, HFILL } }, { &hf_pn_io_ioxs_datastate, { "DataState (1:good/0:bad)", "pn_io.ioxs.datastate", FT_UINT8, BASE_HEX, NULL, 0x80, NULL, HFILL } }, { &hf_pn_io_address_resolution_properties, { "AddressResolutionProperties", "pn_io.address_resolution_properties", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mci_timeout_factor, { "MCITimeoutFactor", "pn_io.mci_timeout_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_provider_station_name, { "ProviderStationName", "pn_io.provider_station_name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_user_structure_identifier, { "UserStructureIdentifier", "pn_io.user_structure_identifier", FT_UINT16, BASE_HEX, VALS(pn_io_user_structure_identifier), 0x0, NULL, HFILL } }, { &hf_pn_io_user_structure_identifier_manf, { "UserStructureIdentifier manufacturer specific", "pn_io.user_structure_identifier_manf", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ar_properties_reserved_1, { "Reserved_1", "pn_io.ar_properties.reserved_1", FT_UINT32, BASE_HEX, NULL, 0x000000E0, NULL, HFILL }}, { &hf_pn_io_ar_properties_device_access, { "DeviceAccess", "pn_io.ar_properties.device_access", FT_UINT32, BASE_HEX, VALS(pn_io_arproperties_DeviceAccess), 0x00000100, NULL, HFILL }}, { &hf_pn_io_subframe_data, { "SubFrameData", "pn_io.subframe_data", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_subframe_reserved2, { "Reserved1", "pn_io.subframe_data.reserved2", FT_UINT32, BASE_HEX, NULL, 0xFFFF0000, NULL, HFILL } }, { &hf_pn_io_subframe_data_length, { "DataLength", "pn_io.subframe_data.data_length", FT_UINT32, BASE_HEX, NULL, 0x0000FF00, NULL, HFILL } }, { &hf_pn_io_subframe_reserved1, { "Reserved1", "pn_io.subframe_data.reserved1", FT_UINT32, BASE_HEX, NULL, 0x00000080, NULL, HFILL } }, { &hf_pn_io_subframe_data_position, { "DataPosition", "pn_io.subframe_data.position", FT_UINT32, BASE_HEX, NULL, 0x0000007F, NULL, HFILL } }, { &hf_pn_io_subframe_data_reserved1, { "Reserved1", "pn_io.subframe_data.reserved_1", FT_UINT32, BASE_HEX, NULL, 0x00000080, NULL, HFILL } }, { &hf_pn_io_subframe_data_reserved2, { "Reserved1", "pn_io.subframe_data.reserved_2", FT_UINT32, BASE_HEX, NULL, 0xFFFF0000, NULL, HFILL } }, { &hf_pn_io_channel_number, { "ChannelNumber", "pn_io.channel_number", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_channel_properties, { "ChannelProperties", "pn_io.channel_properties", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_channel_properties_type, { "Type", "pn_io.channel_properties.type", FT_UINT16, BASE_HEX, VALS(pn_io_channel_properties_type), 0x00FF, NULL, HFILL } }, { &hf_pn_io_channel_properties_accumulative, { "Accumulative", "pn_io.channel_properties.accumulative", FT_UINT16, BASE_HEX, VALS(pn_io_channel_properties_accumulative_vals), 0x0100, NULL, HFILL } }, { &hf_pn_io_NumberOfSubframeBlocks, { "NumberOfSubframeBlocks", "pn_io.NumberOfSubframeBlocks", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_channel_properties_maintenance, { "Maintenance (Severity)", "pn_io.channel_properties.maintenance", FT_UINT16, BASE_HEX, VALS(pn_io_channel_properties_maintenance), 0x0600, NULL, HFILL } }, { &hf_pn_io_channel_properties_specifier, { "Specifier", "pn_io.channel_properties.specifier", FT_UINT16, BASE_HEX, VALS(pn_io_channel_properties_specifier), 0x1800, NULL, HFILL } }, { &hf_pn_io_channel_properties_direction, { "Direction", "pn_io.channel_properties.direction", FT_UINT16, BASE_HEX, VALS(pn_io_channel_properties_direction), 0xE000, NULL, HFILL } }, { &hf_pn_io_channel_error_type, { "ChannelErrorType", "pn_io.channel_error_type", FT_UINT16, BASE_HEX, VALS(pn_io_channel_error_type), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0, { "ExtChannelErrorType", "pn_io.ext_channel_error_type0", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8000, { "ExtChannelErrorType", "pn_io.ext_channel_error_type0800", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8000), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8001, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8001", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8001), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8002, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8002", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8002), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8003, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8003", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8003), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8004, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8004", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8004), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8005, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8005", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8005), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8007, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8007", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8007), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x8008, { "ExtChannelErrorType", "pn_io.ext_channel_error_type8008", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x8008), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x800A, { "ExtChannelErrorType", "pn_io.ext_channel_error_type800A", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x800A), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x800B, { "ExtChannelErrorType", "pn_io.ext_channel_error_type800B", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x800B), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type0x800C, { "ExtChannelErrorType", "pn_io.ext_channel_error_type800C", FT_UINT16, BASE_HEX, VALS(pn_io_ext_channel_error_type0x800C), 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_error_type, { "ExtChannelErrorType", "pn_io.ext_channel_error_type", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ext_channel_add_value, { "ExtChannelAddValue", "pn_io.ext_channel_add_value", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_subdomain_id, { "PTCPSubdomainID", "pn_io.ptcp_subdomain_id", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ir_data_id, { "IRDataID", "pn_io.ir_data_id", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_max_bridge_delay, { "MaxBridgeDelay", "pn_io.max_bridge_delay", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_ports, { "NumberOfPorts", "pn_io.number_of_ports", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_max_port_tx_delay, { "MaxPortTxDelay", "pn_io.max_port_tx_delay", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_max_port_rx_delay, { "MaxPortRxDelay", "pn_io.max_port_rx_delay", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_max_line_rx_delay, { "MaxLineRxDelay", "pn_io.max_line_rx_delay", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_yellowtime, { "YellowTime", "pn_io.yellowtime", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_reserved_interval_begin, { "ReservedIntervalBegin", "pn_io.reserved_interval_begin", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_reserved_interval_end, { "ReservedIntervalEnd", "pn_io.reserved_interval_end", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pllwindow, { "PLLWindow", "pn_io.pllwindow", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sync_send_factor, { "SyncSendFactor", "pn_io.sync_send_factor", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sync_properties, { "SyncProperties", "pn_io.sync_properties", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_sync_frame_address, { "SyncFrameAddress", "pn_io.sync_frame_address", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_timeout_factor, { "PTCPTimeoutFactor", "pn_io.ptcp_timeout_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_takeover_timeout_factor, { "PTCPTakeoverTimeoutFactor", "pn_io.ptcp_takeover_timeout_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_master_startup_time, { "PTCPMasterStartupTime", "pn_io.ptcp_master_startup_time", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_master_priority_1, { "PTCP_MasterPriority1", "pn_io.ptcp_master_priority_1", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_master_priority_2, { "PTCP_MasterPriority2", "pn_io.ptcp_master_priority_2", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_length_subdomain_name, { "PTCPLengthSubdomainName", "pn_io.ptcp_length_subdomain_name", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ptcp_subdomain_name, { "PTCPSubdomainName", "pn_io.ptcp_subdomain_name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_MultipleInterfaceMode_NameOfDevice, { "MultipleInterfaceMode.NameOfDevice", "pn_io.MultipleInterfaceMode_NameOfDevice", FT_UINT32, BASE_HEX, VALS(pn_io_MultipleInterfaceMode_NameOfDevice), 0x01, NULL, HFILL }}, { &hf_pn_io_MultipleInterfaceMode_reserved_1, { "MultipleInterfaceMode.Reserved_1", "pn_io.MultipleInterfaceMode_reserved_1", FT_UINT32, BASE_HEX, NULL, 0xFFFE, NULL, HFILL }}, { &hf_pn_io_MultipleInterfaceMode_reserved_2, { "MultipleInterfaceMode.Reserved_2", "pn_io.MultipleInterfaceMode_reserved_2", FT_UINT32, BASE_HEX, NULL, 0xFFFF0000, NULL, HFILL }}, { &hf_pn_io_pdportstatistic_ifInOctets, { "ifInOctets", "pn_io.ifInOctets", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdportstatistic_ifOutOctets, { "ifOutOctets", "pn_io.ifOutOctets", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdportstatistic_ifInDiscards, { "ifInDiscards", "pn_io.ifInDiscards", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdportstatistic_ifOutDiscards, { "ifOutDiscards", "pn_io.ifOutDiscards", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdportstatistic_ifInErrors, { "ifInErrors", "pn_io.ifInErrors", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_pdportstatistic_ifOutErrors, { "ifOutErrors", "pn_io.ifOutErrors", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_domain_boundary, { "DomainBoundary", "pn_io.domain_boundary", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_domain_boundary_ingress, { "DomainBoundaryIngress", "pn_io.domain_boundary.ingress", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_domain_boundary_egress, { "DomainBoundaryEgress", "pn_io.domain_boundary.egress", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_multicast_boundary, { "MulticastBoundary", "pn_io.multicast_boundary", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_adjust_properties, { "AdjustProperties", "pn_io.adjust_properties", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_PreambleLength, { "Preamble Length", "pn_io.preamble_length", FT_UINT16, BASE_DEC_HEX, VALS(pn_io_preamble_length), 0x0, NULL, HFILL } }, { &hf_pn_io_mau_type, { "MAUType", "pn_io.mau_type", FT_UINT16, BASE_HEX, VALS(pn_io_mau_type), 0x0, NULL, HFILL } }, { &hf_pn_io_mau_type_mode, { "MAUTypeMode", "pn_io.mau_type_mode", FT_UINT16, BASE_HEX, VALS(pn_io_mau_type_mode), 0x0, NULL, HFILL } }, { &hf_pn_io_port_state, { "PortState", "pn_io.port_state", FT_UINT16, BASE_HEX, VALS(pn_io_port_state), 0x0, NULL, HFILL } }, { &hf_pn_io_line_delay, { "LineDelay", "pn_io.line_delay", FT_UINT32, BASE_DEC, NULL, 0x0, "LineDelay in nanoseconds", HFILL } }, { &hf_pn_io_number_of_peers, { "NumberOfPeers", "pn_io.number_of_peers", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_peer_port_id, { "LengthPeerPortID", "pn_io.length_peer_port_id", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_peer_port_id, { "PeerPortID", "pn_io.peer_port_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_peer_chassis_id, { "LengthPeerChassisID", "pn_io.length_peer_chassis_id", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_peer_chassis_id, { "PeerChassisID", "pn_io.peer_chassis_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_own_chassis_id, { "LengthOwnChassisID", "pn_io.length_own_chassis_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_own_chassis_id, { "OwnChassisID", "pn_io.own_chassis_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_own_port_id, { "LengthOwnPortID", "pn_io.length_own_port_id", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_own_port_id, { "OwnPortID", "pn_io.own_port_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_peer_macadd, { "PeerMACAddress", "pn_io.peer_macadd", FT_ETHER, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_macadd, { "MACAddress", "pn_io.macadd", FT_ETHER, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_media_type, { "MediaType", "pn_io.media_type", FT_UINT32, BASE_HEX, VALS(pn_io_media_type), 0x0, NULL, HFILL } }, { &hf_pn_io_ethertype, { "Ethertype", "pn_io.ethertype", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_rx_port, { "RXPort", "pn_io.rx_port", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_details, { "FrameDetails", "pn_io.frame_details", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_frame_details_sync_frame, { "SyncFrame", "pn_io.frame_details.sync_frame", FT_UINT8, BASE_HEX, VALS(pn_io_frame_details_sync_master_vals), 0x03, NULL, HFILL } }, { &hf_pn_io_frame_details_meaning_frame_send_offset, { "Meaning", "pn_io.frame_details.meaning_frame_send_offset", FT_UINT8, BASE_HEX, VALS(pn_io_frame_details_meaning_frame_send_offset_vals), 0x0C, NULL, HFILL } }, { &hf_pn_io_frame_details_reserved, { "Reserved", "pn_io.frame_details.reserved", FT_UINT8, BASE_HEX, NULL, 0xF0, NULL, HFILL } }, { &hf_pn_io_nr_of_tx_port_groups, { "NumberOfTxPortGroups", "pn_io.nr_of_tx_port_groups", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties, { "TxPortGroupProperties", "pn_io.tx_port_properties", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit0, { "TxPortLocal", "pn_io.tx_port_properties_bit_0", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x01, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit1, { "TxPort_1", "pn_io.tx_port_properties_bit_1", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x02, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit2, { "TxPort_2", "pn_io.tx_port_properties_bit_2", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x04, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit3, { "TxPort_3", "pn_io.tx_port_properties_bit_3", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x08, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit4, { "TxPort_4", "pn_io.tx_port_properties_bit_4", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x10, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit5, { "TxPort_5", "pn_io.tx_port_properties_bit_5", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x20, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit6, { "TxPort_6", "pn_io.tx_port_properties_bit_6", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x40, NULL, HFILL } }, { &hf_pn_io_TxPortGroupProperties_bit7, { "TxPort_7", "pn_io.tx_port_properties_bit_7", FT_UINT8, BASE_HEX, VALS(pn_io_txgroup_state), 0x80, NULL, HFILL } }, { &hf_pn_io_start_of_red_frame_id, { "StartOfRedFrameID", "pn_io.start_of_red_frame_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_end_of_red_frame_id, { "EndOfRedFrameID", "pn_io.end_of_red_frame_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ir_begin_end_port, { "Port", "pn_io.ir_begin_end_port", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_assignments, { "NumberOfAssignments", "pn_io.number_of_assignments", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_phases, { "NumberOfPhases", "pn_io.number_of_phases", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_red_orange_period_begin_tx, { "RedOrangePeriodBegin [TX]", "pn_io.red_orange_period_begin_tx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_orange_period_begin_tx, { "OrangePeriodBegin [TX]", "pn_io.orange_period_begin_tx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_green_period_begin_tx, { "GreenPeriodBegin [TX]", "pn_io.green_period_begin_tx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_red_orange_period_begin_rx, { "RedOrangePeriodBegin [RX]", "pn_io.red_orange_period_begin_rx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_orange_period_begin_rx, { "OrangePeriodBegin [RX]", "pn_io.orange_period_begin_rx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_green_period_begin_rx, { "GreenPeriodBegin [RX]", "pn_io.green_period_begin_rx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_ir_tx_phase_assignment, { "TXPhaseAssignment", "pn_io.tx_phase_assignment_sub", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_tx_phase_assignment_begin_value, { "AssignedValueForReservedBegin", "pn_io.tx_phase_assignment_begin_value", FT_UINT16, BASE_DEC, NULL, 0x0F, NULL, HFILL } }, { &hf_pn_io_tx_phase_assignment_orange_begin, { "AssignedValueForOrangeBegin", "pn_io.tx_phase_assignment_orange_begin", FT_UINT16, BASE_DEC, NULL, 0x0F0, NULL, HFILL } }, { &hf_pn_io_tx_phase_assignment_end_reserved, { "AssignedValueForReservedEnd", "pn_io.tx_phase_assignment_end_reserved", FT_UINT16, BASE_DEC, NULL, 0x0F00, NULL, HFILL } }, { &hf_pn_io_tx_phase_assignment_reserved, { "Reserved should be 0", "pn_io.tx_phase_assignment_reserved", FT_UINT16, BASE_DEC, NULL, 0x0F000, NULL, HFILL } }, { &hf_pn_ir_rx_phase_assignment, { "RXPhaseAssignment", "pn_io.rx_phase_assignment_sub", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_slot, { "Slot", "pn_io.slot", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_subslot, { "Subslot", "pn_io.subslot", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_slots, { "NumberOfSlots", "pn_io.number_of_slots", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_subslots, { "NumberOfSubslots", "pn_io.number_of_subslots", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_maintenance_required_power_budget, { "MaintenanceRequiredPowerBudget", "pn_io.maintenance_required_power_budget", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_maintenance_demanded_power_budget, { "MaintenanceDemandedPowerBudget", "pn_io.maintenance_demanded_power_budget", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_error_power_budget, { "ErrorPowerBudget", "pn_io.error_power_budget", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_fiber_optic_type, { "FiberOpticType", "pn_io.fiber_optic_type", FT_UINT32, BASE_HEX, VALS(pn_io_fiber_optic_type), 0x0, NULL, HFILL } }, { &hf_pn_io_fiber_optic_cable_type, { "FiberOpticCableType", "pn_io.fiber_optic_cable_type", FT_UINT32, BASE_HEX, VALS(pn_io_fiber_optic_cable_type), 0x0, NULL, HFILL } }, { &hf_pn_io_controller_appl_cycle_factor, { "ControllerApplicationCycleFactor", "pn_io.controller_appl_cycle_factor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_time_data_cycle, { "TimeDataCycle", "pn_io.time_data_cycle", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_time_io_input, { "TimeIOInput", "pn_io.time_io_input", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_time_io_output, { "TimeIOOutput", "pn_io.time_io_output", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_time_io_input_valid, { "TimeIOInputValid", "pn_io.time_io_input_valid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_time_io_output_valid, { "TimeIOOutputValid", "pn_io.time_io_output_valid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_maintenance_status, { "MaintenanceStatus", "pn_io.maintenance_status", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_maintenance_status_required, { "Required", "pn_io.maintenance_status_required", FT_UINT32, BASE_HEX, NULL, 0x0001, NULL, HFILL } }, { &hf_pn_io_maintenance_status_demanded, { "Demanded", "pn_io.maintenance_status_demanded", FT_UINT32, BASE_HEX, NULL, 0x0002, NULL, HFILL } }, { &hf_pn_io_vendor_id_high, { "VendorIDHigh", "pn_io.vendor_id_high", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_vendor_id_low, { "VendorIDLow", "pn_io.vendor_id_low", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_vendor_block_type, { "VendorBlockType", "pn_io.vendor_block_type", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_order_id, { "OrderID", "pn_io.order_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_serial_number, { "IMSerialNumber", "pn_io.im_serial_number", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_hardware_revision, { "IMHardwareRevision", "pn_io.im_hardware_revision", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* XXX - better use a simple char here -> vals */ { &hf_pn_io_im_revision_prefix, { "IMRevisionPrefix", "pn_io.im_revision_prefix", FT_UINT8, BASE_HEX, VALS(pn_io_im_revision_prefix_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_im_sw_revision_functional_enhancement, { "IMSWRevisionFunctionalEnhancement", "pn_io.im_sw_revision_functional_enhancement", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_revision_bugfix, { "IM_SWRevisionBugFix", "pn_io.im_revision_bugfix", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_sw_revision_internal_change, { "IMSWRevisionInternalChange", "pn_io.im_sw_revision_internal_change", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_revision_counter, { "IMRevisionCounter", "pn_io.im_revision_counter", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_profile_id, { "IMProfileID", "pn_io.im_profile_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_profile_specific_type, { "IMProfileSpecificType", "pn_io.im_profile_specific_type", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_version_major, { "IMVersionMajor", "pn_io.im_version_major", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_version_minor, { "IMVersionMinor", "pn_io.im_version_minor", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_supported, { "IM_Supported", "pn_io.im_supported", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_numberofentries, { "NumberOfEntries", "pn_io.im_numberofentries", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_annotation, { "IM Annotation", "pn_io.im_annotation", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_order_id, { "IM Order ID", "pn_io.im_order_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_ars, { "NumberOfARs", "pn_io.number_of_ars", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_cycle_counter, { "CycleCounter", "pn_io.cycle_counter", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_data_status, { "DataStatus", "pn_io.ds", FT_UINT8, BASE_HEX, 0, 0x0, NULL, HFILL } }, { &hf_pn_io_data_status_res67, { "Reserved (should be zero)", "pn_io.ds_res67", FT_UINT8, BASE_HEX, 0, 0xc0, NULL, HFILL } }, { &hf_pn_io_data_status_ok, { "StationProblemIndicator (1:Ok/0:Problem)", "pn_io.ds_ok", FT_UINT8, BASE_HEX, 0, 0x20, NULL, HFILL } }, { &hf_pn_io_data_status_operate, { "ProviderState (1:Run/0:Stop)", "pn_io.ds_operate", FT_UINT8, BASE_HEX, 0, 0x10, NULL, HFILL } }, { &hf_pn_io_data_status_res3, { "Reserved (should be zero)", "pn_io.ds_res3", FT_UINT8, BASE_HEX, 0, 0x08, NULL, HFILL } }, { &hf_pn_io_data_status_valid, { "DataValid (1:Valid/0:Invalid)", "pn_io.ds_valid", FT_UINT8, BASE_HEX, 0, 0x04, NULL, HFILL } }, { &hf_pn_io_data_status_res1, { "primary AR of a given AR-set is present (0:One/ 1:None)", "pn_io.ds_res1", FT_UINT8, BASE_HEX, 0, 0x02, NULL, HFILL } }, { &hf_pn_io_data_status_primary, { "State (1:Primary/0:Backup)", "pn_io.ds_primary", FT_UINT8, BASE_HEX, 0, 0x01, NULL, HFILL } }, { &hf_pn_io_transfer_status, { "TransferStatus", "pn_io.transfer_status", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_actual_local_time_stamp, { "ActualLocalTimeStamp", "pn_io.actual_local_time_stamp", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_local_time_stamp, { "LocalTimeStamp", "pn_io.local_time_stamp", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_number_of_log_entries, { "NumberOfLogEntries", "pn_io.number_of_log_entries", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_entry_detail, { "EntryDetail", "pn_io.entry_detail", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ip_address, { "IPAddress", "pn_io.ip_address", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_subnetmask, { "Subnetmask", "pn_io.subnetmask", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_standard_gateway, { "StandardGateway", "pn_io.standard_gateway", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_domain_uuid, { "MRP_DomainUUID", "pn_io.mrp_domain_uuid", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_role, { "MRP_Role", "pn_io.mrp_role", FT_UINT16, BASE_HEX, VALS(pn_io_mrp_role_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_length_domain_name, { "MRP_LengthDomainName", "pn_io.mrp_length_domain_name", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_domain_name, { "MRP_DomainName", "pn_io.mrp_domain_name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_instances, { "NumberOfMrpInstances", "pn_io.mrp_Number_MrpInstances", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_instance, { "Mrp_Instance", "pn_io.mrp_MrpInstance", FT_UINT8, BASE_DEC, VALS(pn_io_mrp_instance_no), 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_prio, { "MRP_Prio", "pn_io.mrp_prio", FT_UINT16, BASE_HEX, VALS(pn_io_mrp_prio_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_topchgt, { "MRP_TOPchgT", "pn_io.mrp_topchgt", FT_UINT16, BASE_DEC, NULL, 0x0, "time base 10ms", HFILL } }, { &hf_pn_io_mrp_topnrmax, { "MRP_TOPNRmax", "pn_io.mrp_topnrmax", FT_UINT16, BASE_DEC, NULL, 0x0, "number of iterations", HFILL } }, { &hf_pn_io_mrp_tstshortt, { "MRP_TSTshortT", "pn_io.mrp_tstshortt", FT_UINT16, BASE_DEC, NULL, 0x0, "time base 1 ms", HFILL } }, { &hf_pn_io_mrp_tstdefaultt, { "MRP_TSTdefaultT", "pn_io.mrp_tstdefaultt", FT_UINT16, BASE_DEC, NULL, 0x0, "time base 1ms", HFILL } }, { &hf_pn_io_mrp_tstnrmax, { "MRP_TSTNRmax", "pn_io.mrp_tstnrmax", FT_UINT16, BASE_DEC, NULL, 0x0, "number of outstanding test indications causes ring failure", HFILL } }, { &hf_pn_io_mrp_check, { "MRP_Check", "pn_io.mrp_check", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_check_mrm, { "MRP_Check.MediaRedundancyManager", "pn_io.mrp_check.mrm", FT_UINT32, BASE_HEX, VALS(pn_io_mrp_mrm_on), 0x01, NULL, HFILL } }, { &hf_pn_io_mrp_check_mrpdomain, { "MRP_Check.MRP_DomainUUID", "pn_io.mrp_check.domainUUID", FT_UINT32, BASE_HEX, VALS(pn_io_mrp_checkUUID), 0x02, NULL, HFILL } }, { &hf_pn_io_mrp_check_reserved_1, { "MRP_Check.reserved_1", "pn_io.mrp_check_reserved_1", FT_UINT32, BASE_HEX, NULL, 0x0FFFFFC, NULL, HFILL } }, { &hf_pn_io_mrp_check_reserved_2, { "MRP_Check.reserved_2", "pn_io.mrp_check_reserved_2", FT_UINT32, BASE_HEX, NULL, 0x0FF000000, NULL, HFILL } }, { &hf_pn_io_mrp_rtmode, { "MRP_RTMode", "pn_io.mrp_rtmode", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_rtmode_rtclass12, { "RTClass1_2", "pn_io.mrp_rtmode.class1_2", FT_UINT32, BASE_HEX, VALS(pn_io_mrp_rtmode_rtclass12_vals), 0x00000001, NULL, HFILL } }, { &hf_pn_io_mrp_rtmode_rtclass3, { "RTClass1_3", "pn_io.mrp_rtmode.class3", FT_UINT32, BASE_HEX, VALS(pn_io_mrp_rtmode_rtclass3_vals), 0x00000002, NULL, HFILL } }, { &hf_pn_io_mrp_rtmode_reserved1, { "Reserved_1", "pn_io.mrp_rtmode.reserved_1", FT_UINT32, BASE_HEX, NULL, 0x00fffffc, NULL, HFILL } }, { &hf_pn_io_mrp_rtmode_reserved2, { "Reserved_2", "pn_io.mrp_rtmode.reserved_2", FT_UINT32, BASE_HEX, NULL, 0xff000000, NULL, HFILL } }, { &hf_pn_io_mrp_lnkdownt, { "MRP_LNKdownT", "pn_io.mrp_lnkdownt", FT_UINT16, BASE_HEX, NULL, 0x0, "Link down Interval in ms", HFILL } }, { &hf_pn_io_mrp_lnkupt, { "MRP_LNKupT", "pn_io.mrp_lnkupt", FT_UINT16, BASE_HEX, NULL, 0x0, "Link up Interval in ms", HFILL } }, { &hf_pn_io_mrp_lnknrmax, { "MRP_LNKNRmax", "pn_io.mrp_lnknrmax", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_version, { "MRP_Version", "pn_io.mrp_version", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_substitute_active_flag, { "SubstituteActiveFlag", "pn_io.substitute_active_flag", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_length_data, { "LengthData", "pn_io.length_data", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_ring_state, { "MRP_RingState", "pn_io.mrp_ring_state", FT_UINT16, BASE_HEX, VALS(pn_io_mrp_ring_state_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_mrp_rt_state, { "MRP_RTState", "pn_io.mrp_rt_state", FT_UINT16, BASE_HEX, VALS(pn_io_mrp_rt_state_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_im_tag_function, { "IM_Tag_Function", "pn_io.im_tag_function", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_tag_location, { "IM_Tag_Location", "pn_io.im_tag_location", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_date, { "IM_Date", "pn_io.im_date", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_im_descriptor, { "IM_Descriptor", "pn_io.im_descriptor", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_fs_hello_mode, { "FSHelloMode", "pn_io.fs_hello_mode", FT_UINT32, BASE_HEX, VALS(pn_io_fs_hello_mode_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_fs_hello_interval, { "FSHelloInterval", "pn_io.fs_hello_interval", FT_UINT32, BASE_DEC, NULL, 0x0, "ms before conveying a second DCP_Hello.req", HFILL } }, { &hf_pn_io_fs_hello_retry, { "FSHelloRetry", "pn_io.fs_hello_retry", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_fs_hello_delay, { "FSHelloDelay", "pn_io.fs_hello_delay", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_fs_parameter_mode, { "FSParameterMode", "pn_io.fs_parameter_mode", FT_UINT32, BASE_HEX, VALS(pn_io_fs_parameter_mode_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_fs_parameter_uuid, { "FSParameterUUID", "pn_io.fs_parameter_uuid", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_check_sync_mode, { "CheckSyncMode", "pn_io.check_sync_mode", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_check_sync_mode_reserved, { "Reserved", "pn_io.check_sync_mode.reserved", FT_UINT16, BASE_HEX, NULL, 0xFFFC, NULL, HFILL } }, { &hf_pn_io_check_sync_mode_sync_master, { "SyncMaster", "pn_io.check_sync_mode.sync_master", FT_UINT16, BASE_HEX, NULL, 0x0002, NULL, HFILL } }, { &hf_pn_io_check_sync_mode_cable_delay, { "CableDelay", "pn_io.check_sync_mode.cable_delay", FT_UINT16, BASE_HEX, NULL, 0x0001, NULL, HFILL } }, /* PROFIsafe F-Parameter */ { &hf_pn_io_ps_f_prm_flag1, { "F_Prm_Flag1", "pn_io.ps.f_prm_flag1", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_chck_seq, { "F_Check_SeqNr", "pn_io.ps.f_prm_flag1.f_check_seqnr", FT_UINT8, BASE_HEX, VALS(pn_io_f_check_seqnr), 0x01, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_chck_ipar, { "F_Check_iPar", "pn_io.ps.f_prm_flag1.f_check_ipar", FT_UINT8, BASE_HEX, VALS(pn_io_f_check_ipar), 0x02, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_sil, { "F_SIL", "pn_io.ps.f_prm_flag1.f_sil", FT_UINT8, BASE_HEX, VALS(pn_io_f_sil), 0xc, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_crc_len, { "F_CRC_Length", "pn_io.ps.f_prm_flag1.f_crc_len", FT_UINT8, BASE_HEX, VALS(pn_io_f_crc_len), 0x30, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_crc_seed, { "F_CRC_Seed", "pn_io.ps.f_prm_flag1.f_crc_seed", FT_UINT8, BASE_HEX, VALS(pn_io_f_crc_seed), 0x40, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag1_reserved, { "Reserved", "pn_io.ps.f_prm_flag1.reserved", FT_UINT8, BASE_HEX, NULL, 0x80, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag2, { "F_Prm_Flag2", "pn_io.ps.f_prm_flag2", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag2_reserved, { "Reserved", "pn_io.ps.f_prm_flag2.reserved", FT_UINT8, BASE_HEX, NULL, 0x07, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag2_f_block_id, { "F_Block_ID", "pn_io.ps.f_prm_flag2.f_block_id", FT_UINT8, BASE_HEX, VALS(pn_io_f_block_id), 0x38, NULL, HFILL } }, { &hf_pn_io_ps_f_prm_flag2_f_par_version, { "F_Par_Version", "pn_io.ps.f_prm_flag2.f_par_version", FT_UINT8, BASE_HEX, VALS(pn_io_f_par_version), 0xC0, NULL, HFILL } }, { &hf_pn_io_ps_f_wd_time, { "F_WD_Time", "pn_io.ps.f_wd_time", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_ipar_crc, { "F_iPar_CRC", "pn_io.ps.f_ipar_crc", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_par_crc, { "F_Par_CRC", "pn_io.ps.f_par_crc", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_dest_adr, { "F_Dest_Add", "pn_io.ps.f_dest_add", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_ps_f_src_adr, { "F_Source_Add", "pn_io.ps.f_source_add", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* profidrive parameter access */ { &hf_pn_io_profidrive_request_reference, { "RequestReference", "pn_io.profidrive.parameter.request_reference", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_request_id, { "RequestID", "pn_io.profidrive.parameter.request_id", FT_UINT8, BASE_HEX, VALS(pn_io_profidrive_request_id_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_do_id, { "DO", "pn_io.profidrive.parameter.do", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_no_of_parameters, { "NoOfParameters", "pn_io.profidrive.parameter.no_of_parameters", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_attribute, { "Attribute", "pn_io.profidrive.parameter.attribute", FT_UINT8, BASE_HEX, VALS(pn_io_profidrive_attribute_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_no_of_elems, { "NoOfElements", "pn_io.profidrive.parameter.no_of_elems", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_number, { "Parameter", "pn_io.profidrive.parameter.number", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_subindex, { "Index", "pn_io.profidrive.parameter.index", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_response_id, { "ResponseID", "pn_io.profidrive.parameter.response_id", FT_UINT8, BASE_HEX, VALS(pn_io_profidrive_response_id_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_format, { "Format", "pn_io.profidrive.parameter.format", FT_UINT8, BASE_HEX, VALS(pn_io_profidrive_format_vals), 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_no_of_values, { "NoOfValues", "pn_io.profidrive.parameter.no_of_values", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_value_byte, { "Value", "pn_io.profidrive.parameter.value_b", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_value_word, { "Value", "pn_io.profidrive.parameter.value_w", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_value_dword, { "Value", "pn_io.profidrive.parameter.value_dw", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_value_float, { "Value", "pn_io.profidrive.parameter.value_float", FT_FLOAT, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_pn_io_profidrive_param_value_string, { "Value", "pn_io.profidrive.parameter.value_str", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, }; static gint *ett[] = { &ett_pn_io, &ett_pn_io_block, &ett_pn_io_block_header, &ett_pn_io_status, &ett_pn_io_rtc, &ett_pn_io_rta, &ett_pn_io_pdu_type, &ett_pn_io_add_flags, &ett_pn_io_control_command, &ett_pn_io_ioxs, &ett_pn_io_api, &ett_pn_io_data_description, &ett_pn_io_module, &ett_pn_io_submodule, &ett_pn_io_io_data_object, &ett_pn_io_io_cs, &ett_pn_io_ar_properties, &ett_pn_io_iocr_properties, &ett_pn_io_submodule_properties, &ett_pn_io_alarmcr_properties, &ett_pn_io_submodule_state, &ett_pn_io_channel_properties, &ett_pn_io_slot, &ett_pn_io_subslot, &ett_pn_io_maintenance_status, &ett_pn_io_data_status, &ett_pn_io_iocr, &ett_pn_io_mrp_rtmode, &ett_pn_io_control_block_properties, &ett_pn_io_check_sync_mode, &ett_pn_io_ir_frame_data, &ett_pn_FrameDataProperties, &ett_pn_io_ar_info, &ett_pn_io_ar_data, &ett_pn_io_ir_begin_end_port, &ett_pn_io_ir_tx_phase, &ett_pn_io_ir_rx_phase, &ett_pn_io_subframe_data, &ett_pn_io_SFIOCRProperties, &ett_pn_io_frame_defails, &ett_pn_io_profisafe_f_parameter, &ett_pn_io_profisafe_f_parameter_prm_flag1, &ett_pn_io_profisafe_f_parameter_prm_flag2, &ett_pn_io_profidrive_parameter_request, &ett_pn_io_profidrive_parameter_response, &ett_pn_io_profidrive_parameter_address, &ett_pn_io_profidrive_parameter_value, &ett_pn_io_GroupProperties }; static ei_register_info ei[] = { { &ei_pn_io_block_version, { "pn_io.block_version.not_implemented", PI_UNDECODED, PI_WARN, "Block version not implemented yet!", EXPFILL }}, { &ei_pn_io_error_code1, { "pn_io.error_code1.expert", PI_UNDECODED, PI_WARN, "Unknown ErrorCode1", EXPFILL }}, { &ei_pn_io_error_code2, { "pn_io.error_code2.expert", PI_UNDECODED, PI_WARN, "Unknown ErrorDecode", EXPFILL }}, { &ei_pn_io_ar_info_not_found, { "pn_io.ar_info_not_found", PI_UNDECODED, PI_NOTE, "IODWriteReq: AR information not found!", EXPFILL }}, { &ei_pn_io_block_length, { "pn_io.block_length.invalid", PI_UNDECODED, PI_WARN, "Block length invalid!", EXPFILL }}, { &ei_pn_io_unsupported, { "pn_io.profidrive.parameter.format.invalid", PI_UNDECODED, PI_WARN, "Unknown Fomatvalue", EXPFILL }}, { &ei_pn_io_mrp_instances, { "pn_io.mrp_Number_MrpInstances.invalid", PI_UNDECODED, PI_WARN, "Number of MrpInstances invalid", EXPFILL }}, { &ei_pn_io_frame_id, { "pn_io.frame_id.changed", PI_UNDECODED, PI_WARN, "FrameID changed", EXPFILL }}, { &ei_pn_io_iocr_type, { "pn_io.iocr_type.unknown", PI_UNDECODED, PI_WARN, "IOCRType undecoded!", EXPFILL }}, { &ei_pn_io_localalarmref, { "pn_io.localalarmref.changed", PI_UNDECODED, PI_WARN, "AlarmCRBlockReq: local alarm ref changed", EXPFILL }}, { &ei_pn_io_nr_of_tx_port_groups, { "pn_io.nr_of_tx_port_groups.not_allowed", PI_PROTOCOL, PI_WARN, "Not allowed value of NumberOfTxPortGroups", EXPFILL }}, }; module_t *pnio_module; expert_module_t* expert_pn_io; proto_pn_io = proto_register_protocol ("PROFINET IO", "PNIO", "pn_io"); /* Register by name */ register_dissector("pnio", dissect_PNIO_heur, proto_pn_io); /* Created to remove Decode As confusion */ proto_pn_io_controller = proto_register_protocol ("PROFINET IO (Controller)", "PNIO (Controller)", "pn_io_controller"); proto_pn_io_supervisor = proto_register_protocol ("PROFINET IO (Supervisor)", "PNIO (Supervisor)", "pn_io_supervisor"); proto_pn_io_parameterserver = proto_register_protocol ("PROFINET IO (Parameter Server)", "PNIO (Parameter Server)", "pn_io_parameterserver"); proto_register_field_array (proto_pn_io, hf, array_length (hf)); proto_register_subtree_array (ett, array_length (ett)); expert_pn_io = expert_register_protocol(proto_pn_io); expert_register_field_array(expert_pn_io, ei, array_length(ei)); /* Register preferences */ pnio_module = prefs_register_protocol(proto_pn_io, NULL); prefs_register_bool_preference(pnio_module, "pnio_ps_selection", "Enable detailed PROFIsafe dissection", "Whether the PNIO dissector is allowed to use detailed PROFIsafe dissection of cyclic data frames", &pnio_ps_selection); prefs_register_directory_preference(pnio_module, "pnio_ps_networkpath", "Configuration GSD-File Networkpath", /* Title */ "Select your Networkpath to your GSD-Files.", /* Descreption */ &pnio_ps_networkpath); /* Variable to save the GSD-File networkpath */ /* subdissector code */ register_dissector("pn_io", dissect_PNIO_heur, proto_pn_io); heur_pn_subdissector_list = register_heur_dissector_list("pn_io", proto_pn_io); /* Initialise RTC1 dissection */ init_pn_io_rtc1(proto_pn_io); /* Cleanup functions of PNIO protocol */ register_cleanup_routine(pnio_cleanup); register_conversation_filter("pn_io", "PN-IO AR", pn_io_ar_conv_valid, pn_io_ar_conv_filter); register_conversation_filter("pn_io", "PN-IO AR (with data)", pn_io_ar_conv_valid, pn_io_ar_conv_data_filter); } void proto_reg_handoff_pn_io (void) { /* Register the protocols as dcerpc */ dcerpc_init_uuid (proto_pn_io, ett_pn_io, &uuid_pn_io_device, ver_pn_io_device, pn_io_dissectors, hf_pn_io_opnum); dcerpc_init_uuid (proto_pn_io_controller, ett_pn_io, &uuid_pn_io_controller, ver_pn_io_controller, pn_io_dissectors, hf_pn_io_opnum); dcerpc_init_uuid (proto_pn_io_supervisor, ett_pn_io, &uuid_pn_io_supervisor, ver_pn_io_supervisor, pn_io_dissectors, hf_pn_io_opnum); dcerpc_init_uuid (proto_pn_io_parameterserver, ett_pn_io, &uuid_pn_io_parameterserver, ver_pn_io_parameterserver, pn_io_dissectors, hf_pn_io_opnum); heur_dissector_add("pn_rt", dissect_PNIO_heur, "PROFINET IO", "pn_io_pn_rt", proto_pn_io, HEURISTIC_ENABLE); } /* * Editor modelines * * Local Variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */ ```
Suzanne Louise Deuchler ( Clark; July 21, 1929 – June 24, 2022) was an American Republican politician who was a member of the Illinois House of Representatives from the 42nd district. She retired in 1999, after nine terms. Personal background Suzanne Louise Deuchler (née Clark) was born on July 21, 1929, in Chicago and raised in Shelbyville, Illinois. She studied at the Dayton Art Institute with muralist Ruth VanSickle Ford. She had a Bachelor of Arts degree in Spanish and Speech from the University of Illinois. Community involvement Deuchler was the co-founder of the Illinois Math and Science Academy. She served as a member of the Fox Valley Health Services Board, Aurora Regional Advisory Committee to the Department of Children and Family Services, Aurora University Citizen's Advisory Board, Joseph Corporation of the Illinois Advisory Board, League of Women Voters, American Association of University Women, Department of Public Aid's Welfare Services Committee, and Copley Memorial Hospital Board of Directors. Political career Deuchler's community involvement in various organizations, including the League of Women Voters and the American Association of University Women led to a career in local politics. In 1976, she was elected to the Kane County Board. Four years later, she threw her hat in the ring to represent the 42nd District of Illinois, as a Republican member of the Illinois General Assembly. In the lead-up to the 1980 election, incumbent Republican William Kempiners of Shorewood declined to run for reelection. In the Republican primary for the two nominations, she and the other incumbent Republican, Al Schoeberlein, were nominated. During the general election, Schoeberlein fell ill and was replaced with Dennis Hastert. She, Hastert, and Democratic incumbent Lawrence Murphy were elected that year from the 39th district. After the Cutback Amendment, Deuchler ran for the 42nd district against Democratic candidate William Glisson. While serving in the Illinois State House of Representatives, Deuchler was named to several committees. She served as the chair and minority spokesperson of the Financial Institutions Committee and the Vice-Chair for Personnel and Pensions Committee. She was also a member of Human Services, and General Services and Government Oversight Appropriations. She served as the minority spokesperson for the State Government Administration Committee and the Vice-Spokesperson for Environment and Energy, and Reapportionment Committees. She also served as past co-chairperson of the Conference of Women Legislators, the Citizens Council on Energy Resources, the Immigration Reform Task Force, and the White House Conference on Children. Deuchler was pro-choice and against the criminalization of abortion. Death She died in Aurora, Illinois, on June 24, 2022, at the age of 92. Honors and awards Woman of the Year (1979) – YWCA Woman of the Year – Beta Sigma Phi Woman of the Year – Aurora Business and Professional Women's Club Friend of Agriculture Award – Illinois Farm Bureau Friend of Agriculture Award – Illinois Agricultural Association Outstanding Legislator Award – Kane County Farm Bureau Outstanding Legislator Award – Illinois Taxpayers Federation Outstanding Legislator Award – National Taxpayers Outstanding Legislator Award – United of Illinois References 1929 births 2022 deaths County officials in Illinois County board members in Illinois Republican Party members of the Illinois House of Representatives Women state legislators in Illinois Politicians from Chicago People from Shelbyville, Illinois University of Illinois alumni 21st-century American women
Jon Hess (born 1969) is an American martial artist, early mixed martial arts competitor and the co-founder of the Scientifically Aggressive Fighting Technology of America, or S.A.F.T.A., a martial art with roots in San Soo Kung Fu. Hess, along with S.A.F.T.A. co-founder Lew Hicks, were students of Jerry Peterson, the founder of S.C.A.R.S. They took their San Soo Kung Fu black belt test together in 1993, and Hicks was chosen by Hess to corner him for the UFC. Hess's mixed martial arts debut came in the Ultimate Fighting Championship 5 tournament, where he defeated Andy Anderson by TKO at one minute twenty-two seconds into the fight. The fight is regarded as one of the dirtiest in UFC history, and Hess was ultimately fined $2,000 for two violations of the rules against eye gouging. Hess has defended his actions, citing that "The UFC billed itself as no rules," and therefore there were no rules to break. However, despite the marketing slogan, early UFC events did have a limited list of forbidden techniques, though infractions could only result in a fine. After victory over Anderson, Hess withdrew from the tournament with a hand injury. After his appearance in the UFC, Hess struggled to find another fight, despite publicly challenging dominant early UFC competitor Royce Gracie. Hess believes that this is because he was blacklisted by UFC promoter Art Davie. After an attempt to gain public support for a return to the UFC via opinions published in Inside Kung Fu magazine, Hess fought Vitor Belfort at SB 2-SuperBrawl 2, where he lost by KO in 12 seconds. Hess has not fought professionally since this loss, but has stated he took the Belfort fight on short notice, that if he was allowed to come back he would be "world champ", and that Belfort was "on steroids" when he beat him. On April 25, 2010 Hess cornered Team Quest fighter Steven Tobias at Gladiator Challenge, where Tobias won his first pro fight. Since 2007, Hess has made several efforts to get into fighting shape and has suffered a number of injuries, including breaking three toes and an ankle. As of December 2014, Hess is 9-0 cornering fighters with 8 KO's and one submission. Mixed martial arts record |Loss |align=center|1–1 |Vitor Belfort |KO (punches) |SuperBrawl 2 | |align=center|1 |align=center|0:12 |Honolulu, Hawaii, United States | |- |Win |align=center|1–0 |Andy Anderson |TKO (punches) |UFC 5 | |align=center|1 |align=center|1:23 |Charlotte, North Carolina, United States | |- References External links Living people American male mixed martial artists Mixed martial artists utilizing Kung Fu San Soo Mixed martial artists from California 1969 births People from Murrieta, California Ultimate Fighting Championship male fighters American wushu practitioners
Gniewskie Pole is a village in the administrative district of Gmina Kwidzyn, within Kwidzyn County, Pomeranian Voivodeship, in northern Poland. It lies approximately north-west of Kwidzyn and south of the regional capital Gdańsk. For the history of the region, see History of Pomerania. References Gniewskie Pole
Guram Dochanashvili (; 26 March 1939 – 3 April 2021) was a Georgian prose writer and historian by profession, who was popular for his short stories since the 1960s. Biography Dochanashvili was born in Tbilisi, the capital of then-Soviet Georgia. Having graduated from the Tbilisi State University in 1962, he worked for the Institute of History, Archaeology and Ethnography, and participated in several archaeological expeditions from 1962 to 1975. He then managed the prose section of the literary magazine Mnatobi from 1975 to 1985. Since 1985, he has been a director-in-chief of the Gruziya-film studio. Dochanashvili debuted as a writer in 1961. He was immediately noted for his rejection of the Soviet literary dogmas of Socialist Realism, and his dissident views. Since then, he has published dozens of stories and novellas which won him a nationwide acclaim for their fairy-tale lightness and invention. His most popular work is the 1975 novel The First Garment (სამოსელი პირველი) based on the Holy Bible and story of the War of Canudos in 19th-century Brazil. Dochanashvili was admitted to hospital on 1 April 2021. His condition was critical and he died two days later. Bibliography Across the Mountain. Short stories (1966) The Step. Short stories (1969) Glad Hill. Short stories (1971) The First Garment. A novel. Book 1 (1975) First Garment. A novel. Book 2 (1978) First Garment. A novel. Book 3 (1980) First Garment. A novel. Book 4 (1990) Affair. Short stories (1974) Short Stories (1976) The Best Grand-Father. A Fairy Tale for School Children (1976) First Garment. A novel (1982) Two Short Stories (1984) Platform. Short stories (1988) Four Short Stories (1991) Short Stories. Second Edition (1987) A Man Who Loved Literature (2001) Five Short Stories (2002) Brother's. A short story (2002) Waterloo or Reconstruction Works. A short story (2002) Only One Man. Short stories (2002) The First Garment. A novel (2002) He was Seeking: Some Kind of Short Story, Partially Detective (2002) Difficult. Short stories (2002) Khorumi is a Georgian Dance. Play (2003) Boulder on Which Once there was a Church, a novel (2002) Western Omara and Givia and Planet Hollywood. A novel (2005) Until the Time. Short stories (1991) The Kezheradzes. Four short stories (2005) Collected Stories. In Four Volumes (2003) Song without Words (1983) What I Remember and Recollect More Often (2010) Awards Literary Award Saba for The Contribution in the Development of Literature (2010) Saint George's Order for Establishing Moral Values, Patriarchate of Georgia (2013) References External links Website dedicated to Guram Dochanashvili 1939 births 2021 deaths Writers from Georgia (country) Archaeologists from Georgia (country) Writers from Tbilisi Magic realism writers Postmodern writers Recipients of the Presidential Order of Excellence Laureates of the State Prize of Georgia (country)
Kwirk, known in Japan as , is a puzzle video game developed and published by Atlus in Japan on November 24, 1989, for the Game Boy. The game was later published in North America in March 1990 by Acclaim Entertainment. Plot Kwirk and his girlfriend Tammy were both out "painting the town red" when they decided to explore the unnamed city's subterranean labyrinth below. While down there, Tammy suddenly disappears and Kwirk, with his Veggie Friends, now has to find her in the labyrinth and bring her home. In the original Japanese version of the game, the player character is an anthropomorphized potato called Spud. This was changed to a tomato named Kwirk for the US release. In both releases, the damsel in distress is a tomato. Gameplay Kwirk has three game modes: Going Up?, Heading Out?, and Vs. Mode, each one with its own set of rules. The object is to get from one end of the room to the staircase on the other by rotating turnstiles, moving blocks, and filling holes with blocks. The game has three skill levels: Level 1 - Easy, Level 2 - Average and Level 3 - Hard. After, one of two viewpoints may be selected: Diagonal or Bird's Eye. In Diagonal view, characters and blocks have shadows and appear in crude 3D, whereas in Bird's Eye view everything is 2D, viewed from the top down. The three skill levels and two viewpoints are featured in all three game modes. Going Up? In "Going Up?" the object is to go from floor to floor by rotating turnstiles, moving blocks, and filling holes with blocks to get to the staircase on the other side. There are ten floors for each Skill Level for a total of thirty floors. Along the way at certain levels, Kwirk will receive help from his Veggie Friends, who can be taken control of by pressing the Select button. The Going Up? game mode offers a menu screen (upon a press of the A button) that allows the following; Redo – Restart the entire stage from the beginning. End – Return to the menu. Back – Undo the last move made, up to eight times. Scoring is based on the time taken to complete the stage and the number of steps taken to get to the stairs. Going Up? serves as the story in which Kwirk has to rescue Tammy from the maze. Although the game features no storyline to progress the game, each stage ends with Tammy displaying the score, and after ten floors to each Level, Tammy and Kwirk are reunited. Heading Out? In "Heading Out?" the object is to complete a certain number of rooms consecutively to get a high score. There are a total of 99 rooms, any of which can be selected to run through by the player. Once started, the player sprints through each room solving the puzzle. Bonus Points are earned upon completion of each room. The Bonus Points start at 2000, decreasing during the course of the room, and resets after entering a new room. A timer is included to track the time through the course. After running through all the rooms the player's score is then recorded on a top four list. Vs. Mode Vs. Mode is a race using Heading Out? mode between two players. Each player selects a number of rooms to race through, but both player do not have to select the same number of rooms as a handicap. Then a Contest is selected to decide the win condition; 1 Game playoff, or a Best of 3, 5, 7, or 9. Once started, the players can monitor each other through a Progress meter on their respective screens. The match ends when one player completes all the rooms. Obstacles In each room, Kwirk must navigate around and interact with various obstacles in order to progress. Obstacles: Brick Walls – Cannot be moved nor walked through. Brick walls must be maneuvered around and blocks must be pushed around them. Turnstiles – Blocks set on an axis that turn 90 degrees when pushed by a character. They come in single, double, triple, and quadruple variations. They cannot turn if something is blocking their radius of movement. Blocks – Basic blocks of various sizes. They can be pushed by characters and may block paths necessary for a character to reach the stairs. Blocks can also fill holes to allow characters to walk past. Holes – Can not be walked over. Instead, blocks can be used to fill holes or characters must maneuver around the holes. Kwirk’s Veggie Friends At certain points in the game "Going Up?", one or all of Kwirk's Veggie Friends will appear to help. They do not have special abilities, but instead play exactly like Kwirk to allow maneuvers that are not possible with only one character. The player switches between characters by pressing the select button and all of the Veggie Friends must be brought to the stairs to clear the floor. The Veggie Friends: Curly Carrot Eddie Eggplant Pete the Pepper Sass the Squash Reception Kwirk received largely positive reviews. Reviewers praised the game's challenging difficulty. According to Mean Machines, which rated the game a score of 85%, Kwirk is one of the "simple, but very addictive" puzzle games, as stated by Julian Rignall. Because of the number of different screens, it doesn't "become boring quickly". Rignall stated the game gets "incredibly hard" and "really taxes" the player's brain. Matt Regan criticized that once the player has solved each puzzle, there is "no interest left". The German magazine Video Games reviewed Kwirk in its very first issue and awarded it a "Video Games Classic" due to a score of 85%. The magazine's editor Stephan Englhart praised the game's variety of modes and puzzles. He stated that Kwirk captivates with a "well-elaborated and harmonious overall concept" ("wohl durchdachtes und stimmiges Gesamtkonzept"). Console XS gave review score of 81% and described the gameplay as "pleasing and occasionally confounding" and opined that Kiwrk is one of the best puzzle games. Ports and sequels A port for the Famicom Disk System was released on November 16, 1990, and a port for the PC Engine on February 22, 1991. These versions were only released in Japan, and retain the potato protagonist of the Japanese Game Boy version. A spin-off called Spud's Adventure, known as Totsugeki! Valetions in Japan, was released for the Game Boy in 1991. It was published by Atlus in the U.S. instead of Acclaim. Unlike the first game, Atlus did not change the protagonist into a tomato, but left him as his original character of a potato. Unlike Puzzle Boy, it is an action/adventure game. A second sequel Amazing Tater (known in Japan as Puzzle Boy II) also for the Game Boy was released later in 1991 in Japan, and in 1992 in the US. Like Spud's Adventure, the protagonist remains a potato called "Spud". It retains much of the Mae play of the first game. In October 2018, the original game's North American publishing rights were acquired by Canadian production company Liquid Media Group along with other titles originally released by Acclaim. In other media Kwirk's only appearance outside of the Game Boy game was on the television show Video Power, as part of a 15-minute cartoon short called The Power Team, which featured characters from Acclaim games. References External links Kwirk at GameRankings 1989 video games 1990 video games Acclaim Entertainment games Atlus games Game Boy games Puzzle video games TurboGrafx-16 games Fruit and vegetable characters Video games about food and drink Video games developed in Japan Video games scored by Tsukasa Masuko Multiplayer and single-player video games
In category theory, the coproduct, or categorical sum, is a construction which includes as examples the disjoint union of sets and of topological spaces, the free product of groups, and the direct sum of modules and vector spaces. The coproduct of a family of objects is essentially the "least specific" object to which each object in the family admits a morphism. It is the category-theoretic dual notion to the categorical product, which means the definition is the same as the product but with all arrows reversed. Despite this seemingly innocuous change in the name and notation, coproducts can be and typically are dramatically different from products. Definition Let be a category and let and be objects of An object is called the coproduct of and written or or sometimes simply if there exist morphisms and satisfying the following universal property: for any object and any morphisms and there exists a unique morphism such that and That is, the following diagram commutes: The unique arrow making this diagram commute may be denoted or The morphisms and are called , although they need not be injections or even monic. The definition of a coproduct can be extended to an arbitrary family of objects indexed by a set The coproduct of the family is an object together with a collection of morphisms such that, for any object and any collection of morphisms there exists a unique morphism such that That is, the following diagram commutes for each : The coproduct of the family is often denoted or Sometimes the morphism may be denoted to indicate its dependence on the individual s. Examples The coproduct in the category of sets is simply the disjoint union with the maps ij being the inclusion maps. Unlike direct products, coproducts in other categories are not all obviously based on the notion for sets, because unions don't behave well with respect to preserving operations (e.g. the union of two groups need not be a group), and so coproducts in different categories can be dramatically different from each other. For example, the coproduct in the category of groups, called the free product, is quite complicated. On the other hand, in the category of abelian groups (and equally for vector spaces), the coproduct, called the direct sum, consists of the elements of the direct product which have only finitely many nonzero terms. (It therefore coincides exactly with the direct product in the case of finitely many factors.) Given a commutative ring R, the coproduct in the category of commutative R-algebras is the tensor product. In the category of (noncommutative) R-algebras, the coproduct is a quotient of the tensor algebra (see free product of associative algebras). In the case of topological spaces, coproducts are disjoint unions with their disjoint union topologies. That is, it is a disjoint union of the underlying sets, and the open sets are sets open in each of the spaces, in a rather evident sense. In the category of pointed spaces, fundamental in homotopy theory, the coproduct is the wedge sum (which amounts to joining a collection of spaces with base points at a common base point). The concept of disjoint union secretly underlies the above examples: the direct sum of abelian groups is the group generated by the "almost" disjoint union (disjoint union of all nonzero elements, together with a common zero), similarly for vector spaces: the space spanned by the "almost" disjoint union; the free product for groups is generated by the set of all letters from a similar "almost disjoint" union where no two elements from different sets are allowed to commute. This pattern holds for any variety in the sense of universal algebra. The coproduct in the category of Banach spaces with short maps is the sum, which cannot be so easily conceptualized as an "almost disjoint" sum, but does have a unit ball almost-disjointly generated by the unit ball is the cofactors. The coproduct of a poset category is the join operation. Discussion The coproduct construction given above is actually a special case of a colimit in category theory. The coproduct in a category can be defined as the colimit of any functor from a discrete category into . Not every family will have a coproduct in general, but if it does, then the coproduct is unique in a strong sense: if and are two coproducts of the family , then (by the definition of coproducts) there exists a unique isomorphism such that for each . As with any universal property, the coproduct can be understood as a universal morphism. Let be the diagonal functor which assigns to each object the ordered pair and to each morphism the pair . Then the coproduct in is given by a universal morphism to the functor from the object in . The coproduct indexed by the empty set (that is, an empty coproduct) is the same as an initial object in . If is a set such that all coproducts for families indexed with exist, then it is possible to choose the products in a compatible fashion so that the coproduct turns into a functor . The coproduct of the family is then often denoted by and the maps are known as the natural injections. Letting denote the set of all morphisms from to in (that is, a hom-set in ), we have a natural isomorphism given by the bijection which maps every tuple of morphisms (a product in Set, the category of sets, which is the Cartesian product, so it is a tuple of morphisms) to the morphism That this map is a surjection follows from the commutativity of the diagram: any morphism is the coproduct of the tuple That it is an injection follows from the universal construction which stipulates the uniqueness of such maps. The naturality of the isomorphism is also a consequence of the diagram. Thus the contravariant hom-functor changes coproducts into products. Stated another way, the hom-functor, viewed as a functor from the opposite category to Set is continuous; it preserves limits (a coproduct in is a product in ). If is a finite set, say , then the coproduct of objects is often denoted by . Suppose all finite coproducts exist in C, coproduct functors have been chosen as above, and 0 denotes the initial object of C corresponding to the empty coproduct. We then have natural isomorphisms These properties are formally similar to those of a commutative monoid; a category with finite coproducts is an example of a symmetric monoidal category. If the category has a zero object , then we have a unique morphism (since is terminal) and thus a morphism . Since is also initial, we have a canonical isomorphism as in the preceding paragraph. We thus have morphisms and , by which we infer a canonical morphism . This may be extended by induction to a canonical morphism from any finite coproduct to the corresponding product. This morphism need not in general be an isomorphism; in Grp it is a proper epimorphism while in Set* (the category of pointed sets) it is a proper monomorphism. In any preadditive category, this morphism is an isomorphism and the corresponding object is known as the biproduct. A category with all finite biproducts is known as a semiadditive category. If all families of objects indexed by have coproducts in , then the coproduct comprises a functor . Note that, like the product, this functor is covariant. See also Product Limits and colimits Coequalizer Direct limit References External links Interactive Web page which generates examples of coproducts in the category of finite sets. Written by Jocelyn Paine. Limits (category theory)
The TVB Star Awards Malaysia () is an annual awards ceremony honoring Cantonese programming achievements in Malaysia. It is produced by TVB Entertainment News, with Astro and MY FM as media partners. The ceremony was previously known as the My Astro On Demand Favourites Awards (), which succeeded the Astro Wah Lai Toi Drama Awards (). The Malaysian television channel Astro Wah Lai Toi, presented by Astro, airs Hong Kong television programmes produced by TVB. In 2005, Astro organised its first awards ceremony, the 2004 Astro Wah Lai Toi Drama Awards, presenting awards to Hong Kong actors and actresses for their acting achievements in TVB television dramas. TVB Entertainment News took over the production of the awards series in 2013, renaming it The TVB Star Awards. It has since become an annual event, and is regarded as a prelude to Hong Kong's TVB Anniversary Awards. The nominations for the TVB Star Awards are jointly determined by Astro and TVB for TVB programmes shown on Astro Wah Lai Toi throughout the designated year. Winners are decided by the Malaysian public. Presently, voting is done through a mobile app produced by TVB and Astro. Categories Current categories Current award categories include: My Favourite TVB Drama Series,...Actor and ...Actress in a Leading Role, ...Actor and ...Actress in a Supporting Role, ...Drama Characters, ...On Screen Couple, and ...Drama Theme Song. These categories have been awarded since 2004. In 2011, My Favourite Most Improved TVB Actor and Actress categories were added. In 2013, My Favourite TVB Host In a Variety Program, ...Variety Program, and ...Enrichment Program awards were added bringing the total to thirteen My Favourite TVB awards. Discontinued or special categories Discontinued or special categories include: Most Unforgettable Slap in 2004. In 2005, categories included: My Favourite Gunshot, My Favourite Beauty, My Favourite Father-figure, and My Favourite Mother-figure. Most Unforgettable Kiss category was awarded in 2004 and 2008. My Favourite Supporting Character and My Favourite Extreme Appearance were awarded between 2006 and 2008 inclusive. Most Unforgettable Scene was awarded for the years 2004–2008. Most Unforgettable Villain was awarded in 2004, 2008 and 2009. My Favourite Legendary Character and My Favourite Outstanding Popularity King were awarded in 2012. Rising TVB Star in Malaysia was awarded in 2014 and Astro MY FM’s Special Pick for TVB Drama Theme Song was awarded in 2015. Honorary awards The TVB Star Achievement Award was first awarded in 2014. Years Favourite TVB Drama Characters References Acting awards Awards established in 2004 Astro Malaysia Holdings Entertainment events in Malaysia Mass media in Malaysia
Fountain for Company H, also known as Second Oregon Company Volunteers, is a 1914 fountain and war memorial designed by John H. Beaver, installed in Portland, Oregon's Plaza Blocks, in the United States. Dedicated to the men of Company H of the 2nd Oregon Volunteer Infantry Regiment killed in service during the Spanish–American War, the limestone and bronze memorial was installed in Lownsdale Square in 1914. It is part of the City of Portland and Multnomah County Public Art Collection courtesy of the Regional Arts & Culture Council. The memorial has been included in published walking tours of Portland. Description The limestone and bronze memorial is installed on the west side of Lownsdale Square, facing the Multnomah County Courthouse along Southwest 4th Avenue between Main and Salmon Streets, in Downtown Portland's Plaza Blocks. It features a drinking fountain within a clamshell-shaped canopy and measures approximately 89 x 63 x 31 in. The memorial commemorates the men of Company H of the 2nd Oregon Volunteer Infantry Regiment killed in the Philippines during the Spanish–American War. An inscription on the west side reads: History Design selection and unveiling The memorial was gifted by an auxiliary group of women relatives (mostly mothers) of the men in Company H, who held meetings to organize the effort and raise funds. To select a design, a city competition was announced in January 1914, with $450 appropriated for a fountain "to be executed in bronze and stone"; contestants were required to submit "front and side elevations, section and plan" using "simple monotone wash renderings or pen and ink". On February 13, an auxiliary meeting was held for "all present members and all women who joined at the time of the close of the war or since that time... whether they are members now or not", so final arrangements could be made. Beaver's design was chosen by a committee under city commissioner William L. Brewster on February 17, earning the artist a $50 prize. The fountain was erected by August 30, and unveiled on September 2. Henrietta White, great-granddaughter of the auxiliary's first president Diana McDonell, unveiled the fountain by removing a flag presented to the company by girls from Portland High School. The program included: a speech by Colonel Charles E. McDonell, a captain in the company who served as chairman of the ceremony and described the history and activities of the auxiliary; a poem written by auxiliary member June McMillan Ordway and read by Josephine Burns Hoben; the drum corps of the Sons of Spanish–American War Veterans; and an opening prayer and closing benediction by Reverend C. E. Cline. Brewster accepted the memorial on behalf of mayor H. Russell Albee and the city, and the program ended with the singing of "America". Subsequent maintenance The fountain was surveyed by the Smithsonian Institution's "Save Outdoor Sculpture!" program in 1993. During Occupy Portland (2011), the fountain was screened off and displayed a sign reading "Please respect this fragile monument". Keith Lachowicz, the Regional Arts & Culture Council's art collections manager, assessed the memorial's condition multiple times during the demonstration, along with the nearby monuments Thompson Elk Fountain (1900), Spanish–American War Soldier's Monument (1906), and The Promised Land (1993). He said the war memorials sustained graffiti, which was removed by veterans within the group of occupiers, and confirmed all the public artworks on the site had received no major damage, as of late November. The screen had to be replaced by the city once after being removed. Lachowicz said of the protesters: "We had some very interesting philosophical debates about war monuments, but they ended up being pretty respectful." The memorial is part of the City of Portland and Multnomah County Public Art Collection courtesy of the Regional Arts & Culture Council. See also 1914 in art List of Spanish–American War monuments and memorials Spanish–American War Veterans Memorial, River View Cemetery References Further reading External links 1914 establishments in Oregon 1914 sculptures Bronze sculptures in Oregon Drinking fountains in Oregon Fountains in Portland, Oregon Limestone sculptures in Oregon Monuments and memorials in Portland, Oregon Outdoor sculptures in Portland, Oregon Plaza Blocks Spanish–American War memorials in the United States Vandalized works of art in Oregon
Kwee Hing Tjiat (, born Surabaya, 1891, died Semarang, 27 June 1939) was a Chinese-Malay journalist and a leading peranakan Chinese intellectual of the late colonial era. He spent his childhood in Surabaya, Dutch East Indies and was educated in a Dutch vocational school (Burgersavondschool) and probably also in a Chinese school (Tiong Hoa Hwee Koan). At the age of 21 (in 1913), together with Lie Biauw Kie, Tjia Tjiep Ling, Tan Tjiang Ling, Liem Thoan Tik, and Liem Tjhioe Kwie, he founded the first weekly published in Surabaya named Bok Tok. In 1914 he became chief editor of Tjhoen Tjhioe's weekly led by Tjoa Jan Hie. In the same year he became chief editor of Palita in Yogyakarta. In 1916 he was invited to the capital Batavia where he was made editor in chief of the daily Sin Po. The first editor of the paper had been a European for legal reasons so Kwee was the first Chinese to hold this position. There he advocated for Chinese nationalism and was critical of the Dutch. During this era he believed that Ethnic Chinese in the Indies should not involve themselves in local politics nor be compelled to serve in the proposed local defense forces which were being discussed at the time (the Indië Weerbaar). In 1918 he was sent to Europe on behalf of the business firm Hoo Tik Thay in order to help them with tobacco exports, although he continued to write for Sin Po. He traveled in Europe for four years and lived in Berlin for a time. In 1921 he wrote a book titled (Malay: lit. Two Heads of Stone, or Two Stubborn Men), an account of Chinese politics in Java. He returned to the Dutch East Indies in 1923 but when he arrived at the Port of Tanjung Priok he was refused entry. Then he settled in Shanghai, where he lived for ten years, and wrote for various newspapers in China and Java. Despite his long-standing advocacy of Chinese nationalism, he felt like a foreigner there. In 1934 he was allowed to return to the Indies under the guarantee of Oei Tiong Hauw of the Oei Tiong Ham Concern. With their support he founded a new Chinese-Malay newspaper called (Malay: The Sun). His early staff were Liem Koen Hian, Mr. Ko Kwat Tiong, Kwee Tek Hoaij, Kwee Thiam Tjing, Njonja Tjoa Hin Hoei, Njonja Lim Sam Tjiang and Miss Thung Tien. Based on his experience living in Europe and China, his political views shifted and he realized that peranakan Chinese were more culturally Indonesian than Chinese. For example, he met the Chinese ambassador in Vienna and was embarrassed by his inability to express himself in the language. In the 1930s, under the influence of Indonesian nationalists, he advanced the idea that Indies Chinese were also (Malay: sons of Indonesia). Kwee Hing Tjiat died at 19:40, 27 June 1939 (at the age of 47) in Semarang. References Sources Lohanda, Mona. Growing pains: The Chinese and the Dutch in colonial Java, 1890–1942. Yayasan Cipta Loka Caraka, 2002. Leo Suryadinata. Peranakan Chinese Politics in Java, 1917–1942. Singapore University Press, 1981. 1891 births 1939 deaths Indonesian people of Chinese descent People from the Dutch East Indies of Chinese descent 20th-century journalists Newspaper editors from the Dutch East Indies Chinese journalists Journalists from the Dutch East Indies
Chengguan Subdistrict () is a subdistrict on the eastern side of Fangshan District, Beijing, China. It borders Yingfeng, XIngyang, Dongfeng Subdistricts to the north, Qinglonghu Town to the northeast, Yancun and Doudian Towns to the east, Shilou Town to the south, Yingfeng Subdistrict and Zhoukoudian Town to the west. Its total population was 121,242 as of 2020. The name Chengguan () refers to the region's historical location near the city gate. Since a lot of places in China inherited their names from a time when city gates still existed, the name Chengguan appears in many of them, including Qingdao, Lanzhou, Lhasa, among others. History Administrative Divisions In the year 2021, Chengguan Subdistrict had 46 subdivisions, more specifically 24 communities and 22 villages: See also List of township-level divisions of Beijing References Fangshan District Subdistricts of Beijing
Villafuerte is a surname. Notable people with the surname include: Amílcar Augusto Villafuerte Trujillo (born 1964), Mexican politician affiliated with the PVEM Brandon Villafuerte, American baseball player Edwin Villafuerte, Ecuadoran footballer Jaime Villafuerte (born 1920), Filipino former sports shooter José Voltaire Villafuerte Tenorio (born 1956), Ecuadorian retired footballer Juan Villafuerte, Ecuadorian painter Juan Rodríguez de Villafuerte, a Spanish conquistador Luis Raymund "LRay" Favis Villafuerte Jr. (born 1968), Filipino politician Luis Robredo Villafuerte, Sr. (1935-2021), Filipino politician Miguel Luis Villafuerte (born 1989), Filipino politician and model Noel Nieva Villafuerte, International Visual artist See also Villafuerte, Michoacán, town in Mexico Villafuerte de Esgueva, municipality in Castile-León, Spain
The Keane-Collopy gang is a criminal organisation based in Limerick City, Ireland. Its members are major suppliers of drugs in the Mid-West region and have been heavily involved in the Limerick feud since 2000,murdered 43 people. when an attempt was made on the life of gang leader Christy Keane, by Eddie Ryan. The feud, which mainly involves the Keane-Collopys, the Ryans and the McCarthy-Dundon gang, has resulted in hundreds of violent incidents including stabbings, shootings and bomb attacks and the deaths of up to twenty people. Keane-Collopy members are estimated to own more than 30 properties in the Limerick suburb of St. Mary's Park, where the gang is based. They have strong links to gangs in Dublin and Cork. The gang has been consistently targeted by the Criminal Assets Bureau, with several properties and vehicles bought with the proceeds of crime, seized by the state. The Keane-Collopys have been severely weakened in recent years, with many key figures dead or in jail serving long sentences for feud related offences. Rivals Currently, the Limerick feud shows that Keane-Collopy's enemy(es) are: 1. McCarthy-Dundon References Further reading Duggan, Barry. "Mean Streets:Limerick's Gangland. O'Brien Press, 2009. Galvin, Anthony. "Family Feud:Gangland Limerick Exposed. Hodder Headline Ireland, 2003. Irish drug traffickers Organised crime groups in Ireland
"Door" is a song by American singer-songwriter and producer Caroline Polachek from her third studio and major-label debut album Pang. It was released as the lead single from the album on June 19, 2019. Polachek's imprint label under The Orchard is called Perpetual Novice after a line in "Door". The song is the first release by Polachek under her own name, having previously released music under "Ramona Lisa", "CEP", and as part of the band "Chairlift". The song was written and produced by Polachek, Dan Nigro and Jim-E Stack and Danny L Harle (the latter being a co-producer). "Door" was released alongside a psychedelic-inspired music video. Background In an interview with Vogue, Polachek expressed her surprise that her label was happy to lead with "Door" as the first single, explaining "it's such a long and winding song. There are songs on the record that are a bit more twisty and moody. And this one feels like, no pun intended, an open door. It feels like an invitation." Polachek said that "Door" was the most difficult track on the album to create, saying "I almost gave up on ‘Door’ so many times. I couldn't crack it. It started out as a simple song with just a chorus-verse-chorus. I felt like it needed to transform more. I'd written the structure with Dan Nigro, but I wanted to combine it with the world that ‘Parachute’ and ‘Hey Big Eyes’ exist in. It's more dreamscape. Making the production work was so difficult, the original vibe sat more on an indie rock palette. I was trying so hard to push it into something that felt more magical, and it felt like it was switching palettes too much, or the dynamic was too jumpy, or it didn't have a solid enough core. The production of that song took about a year from start to finish." Critical reception Pitchfork listed the song at number 47 for the 100 best songs of 2019. DIY called the song "a pop journey, complete with acoustic guitar, plenty of synths and a whole lot of bass, not to mention a wordless vocal solo that lasts for a whole minute." Track listing Door – Single "Door" – 5:22 Door (Oklou Remix) – Single "Door" (Oklou Remix) – 3:21 "Door" – 5:22 References 2019 singles 2019 songs Caroline Polachek songs Songs written by Caroline Polachek Songs written by Dan Nigro
El Fuerte de Samaipata or Fort Samaipata, also known simply as "El Fuerte", is a Pre-Columbian archaeological site and UNESCO World Heritage Site located in Florida Province, Santa Cruz Department, Bolivia. It is situated in the eastern foothills of the Bolivian Andes and is a popular tourist destination for Bolivians and foreigners alike. It is served by the nearby town of Samaipata. The archaeological site at El Fuerte is unique as it encompasses buildings of three different cultures: Chanè, Inca, and Spanish. Although called a fort, Samaipata had also a religious, ceremonial, and residential function. Its construction was probably begun by the Chané, a pre-Inca people of Arawak origin. There are also ruins of an Inca plaza and residences, dating from the late 15th and early 16th centuries as the Inca empire expanded eastward from the Andes highlands into the sub-tropical foothills. Chané, Inca, and Spanish all suffered raids from Guarani (Chiriguano) warriors who also settled in the region. The Guarani conquered the plains and valleys of Santa Cruz and occupied the Samaipata area. The Guaranis dominated the region well into the Spanish colonial period. The Spaniards built a settlement at Samaipata fort, and there are remains of buildings of typical Arab Andalusian architecture. The Spaniards soon abandoned the fort and moved to a nearby valley, establishing the town of Samaipata in 1618. Incas The site of Samaipata was occupied as a ritual and residential area about 300 CE by the Chané of the Mojocoyas period (200 to 800 CE). They began shaping the great rock that is the ceremonial center of the Samaipata ruin. According to a 17th-century Spanish chronicler, Diego Felipe de Alcaya, the Incas, probably late in the reign of Tupac Yupanqui (ruled 1471-1493), began the incorporation of the Samaipata area into the empire. A relative of Yupanqui's named Guacane led an Inca army to the area and with elaborate gifts persuaded the local leader, whose title was Grigota, and his 50,000 subjects to submit to Inca rule. Guacane established his capital at Samaipata or Sabay Pata on a mountain top at an elevation of . Samaipata means "the heights of rest" in the Quechua language spoken by the Inca. Samaipata was an Inca administrative, ceremonial, and religious center. As with other Inca administrative centers on the frontiers of the empire (such as Oroncota), Samaipata was protected by outlying fortresses. One has been located about to the east called La Fortaleza. The ruins of the fort are on a mountaintop overlooking the lowlands around the present-day city of Santa Cruz. Another fortress. location unknown, called Guanacopampa protected a mine at Saypurú or Caypurum, location also unknown. The Samaipata area was one of the most isolated and easternmost areas of the Inca Empire. According to Alcaya's account, Guacane and Grigota were killed in an attack by the Eastern Bolivian Guaraní people called Chiriguanos by the Spanish. The Chiriguanos were advancing from the lowlands into the Andes foothills. A counterattack by the Incas failed to dispossess the Chiriguanos who remained to settle in Samaipata and its vicinity. An Inca building destroyed by fire at Samaipata gives credence to this story. The date of the war is uncertain, although many authorities date the beginning of Chiriguano attacks on the Inca's eastern frontiers to the 1520s. The Spanish, along with Inca supporters, may have used Samaipata as a fortress and base camp as early as the 1570s, but formal Spanish settlement began in 1615 while the Chiriguanos were still threatening. A Spanish house is among the ruins. The site The Samaipata archaeological site of about is divided into two parts: a ceremonial sector and an administrative/residential sector. Some of the construction of the Inca were built on earlier structures of the Chané. The ceremonial sector is in the northern part of the site. It is about by and consists mostly of a large rock saddle almost completely covered with carvings of both Inca and pre-Inca origin. The carvings include a variety of geometric and animal figures, walls, niches, and long canal-like carvings called "the spine of the serpent" or "el cascabel" (the rattlesnake). Although not the most visually spectacular, the most important part of the ceremonial sector is the "coro de los sacerdotes" (choir of the priests) at the highest point of the rock. This consists of 18 niches, probably used as seats for individuals, carved into the rock. At the bottom of the rock are 21 carved rectangular niches which may have served as residences for priests or for the storage of ceremonial items. Other niches and alcoves are scattered around the ruin. The residential and administrative center makes up the southern part of the site. Samaipata may have been an Incan provincial capital and has all the infrastructure associated with that status. The most prominent feature is a large trapezoidal plaza about on each side bordered on the south by a "kallanka," a rectangular building typical of Inca cities and symbolizing Incan political power. The kallanka, in length and wide was used for public gatherings, feasts, and housing visitors and soldiers. The kallanka at Samaipata is the second largest in Bolivia, but apparently construction was interrupted as the drainage canal and thatched roof were not completed. Also in this sector is the Acllahuasi, a nunnery for the sequestered women called Aclla, who were chosen to weave textiles, become wives of Inca nobles, participate in ceremonies, and, on occasion, be sacrificed in religious ceremonies. The existence of an Acllahuasi was typical of important Inca settlements. Protection Due to damage caused by visitors walking on the symbols cut into the rock and by erosion caused by water, the inner area is cordoned off to prevent more damage. However most of it can still be viewed. Access to the site is easy; many operators run buses from nearby Samaipata. There is a small entrance charge. The site is under the care of Stonewatch, which is a non profit society and academy for conservation and documentation of rock art. Gallery References External links StoneWatch - society and academy for conservation and documentation of rock art Official UNESCO World Heritage Site webpage Site with some pictures and information Archaeological sites in Bolivia Gran Chaco World Heritage Sites in Bolivia Former populated places in Bolivia Buildings and structures in Santa Cruz Department (Bolivia) Colonial Bolivia Tourist attractions in Santa Cruz Department (Bolivia) Prehistory of Bolivia History of the Inca civilization
Heumen () is a municipality and a village in the eastern Netherlands. Population centres Heumen Malden (administrative centre) Molenhoek (partly) Nederasselt Overasselt Topography Dutch Topographic map of the municipality of Heumen, June 2015 Notable people Wisse Alfred Pierre Smit (1903–1986) a poet and an influential Dutch literary historian of the Dutch Golden Age Frans Thijssen (born 1952 in Malden) a former international Dutch footballer with 628 club caps Sabina Brons (born 1965) stage name Selena a Dutch singer Bram Nuytinck (born 1990) a Dutch footballer with over 270 club caps Gallery References External links Official website Municipalities of Gelderland Populated places in Gelderland
Anthony Zucco is a fictional character appearing in American comic books published by DC Comics. First appearing in Detective Comics #38 (April 1940), Zucco is a mobster responsible for murdering the parents of Dick Grayson, which leads to Grayson's adoption by Bruce Wayne a.k.a. Batman and becoming the latter's sidekick and original Robin and Nightwing. The character has appeared in Batman: The Animated Series, voiced by Thomas F. Wilson, and The Batman, voiced by Mark Hamill. Richard Zeppieri portrayed him in the first season of the DC Universe series Titans. Publication history Tony Zucco first appeared in Detective Comics #38 (April 1940) and was created by Bob Kane, Bill Finger, and Jerry Robinson. Fictional character history Pre-Crisis Antonio Zucco (originally just "Boss Zucco" in his first appearance) is a Mafia crime boss or simple low level thug (his position of power varies depending upon the Golden and Silver Age continuity) in Gotham City who is responsible for the death of Dick Grayson's parents. Throughout the years, Zucco's role in Robin's origin remains largely the same. Earth-Two Zucco tries to extort the Haly's Circus, where the Flying Graysons are the main attraction. When the ringmaster C.C. Haly (who runs an honest business) refuses to pay him protection money, Zucco has his henchman Blade sabotage the trapeze ropes the Graysons use in their act. The ropes break while John and Mary Graysons are in mid-air. Because the Graysons perform their act without a safety net, they fall to their deaths. This caused C.C. Haly to pay him protection money to prevent any further "accidents". After overhearing Blade talking to Zucco about committing the sabotage, Dick is subsequently adopted by Bruce Wayne (a.k.a. Batman) and becomes his partner Robin. Both of them locate Tony Zucco where they defeated his henchmen. Robin was able to secretly record Zucco punishing his henchman Blade by pushing him off the skyscraper. The police used this as evidence to arrest Zucco. Afterwards, Robin becomes Batman's sidekick. Many years later, Zucco was seen in the hospital where he has become senile. At the time when he was under the influence of the Stream of Ruthlessness, Robin combated Infinity, Inc. to get to Tony Zucco and finish him off. When he does get to Tony Zucco, Robin finds that he does not recognize him. Earth-One On Earth-One, Tony Zucco's history and his showdown with Batman and Robin is the same as his Earth-Two counterpart. Post-Crisis Batman: Year Three Dick Grayson's narration establishes Zucco's backstory. A first-generation immigrant from Italy, Zucco is orphaned at a young age when a gang of criminals murder his parents for refusing to pay protection money. Zucco is sent to an orphanage, where he is cared for by Sister Mary Elizabeth. She tries to counsel Zucco, but he is a lost cause; consumed by anger, he prays only for the deaths of the men who killed his parents. As a young man, he runs away from the orphanage and joins one of Gotham's major crime families, and quickly moves up Gotham's criminal food chain. After Batman apprehends him for murdering Dick Grayson's parents, Zucco is sentenced to two consecutive life terms in Blackgate Penitentiary. After serving seven years of his sentence, he files for a parole hearing and offers testimony against other Gotham criminals. He professes remorse for his crimes, but hides an ulterior motive. Before he was sent to prison, Zucco had hidden a ledger in the orphanage where Dick briefly resided following his parents' deaths; the ledger contains incriminating information about the Mafia's operations in Gotham. Zucco plots to remove the ledger from the orphanage before it is demolished. Wanting to keep the truth from Dick (who has recently become Nightwing), Alfred Pennyworth goes to the parole hearing and pleads for the judge to keep Zucco in prison, but Dick soon learns of Zucco's release. Despite Alfred's attempts to stop him, Dick races to Blackgate to confront his parents' killer. As he steps out of the prison, Zucco is gunned down by a helicopter hired by a rival crime boss. While Zucco's death gives Dick some closure, his already-strained relationship with Batman becomes further complicated. When Dick presses him, Batman insists he knows nothing about Zucco's murder. Batman: Dark Victory In Batman: Dark Victory, Zucco (dubbed Anthony "Fats" Zucco) is portrayed as a low-level thug working for Sal Maroni, a member of Carmine Falcone's Mafia empire. He and another minor family head, Edward Skeevers, are put in charge of drug smuggling. After constant attacks by other enemies such as Penguin, Zucco starts a new method of smuggling these drugs. He only lets Skeevers in on the secret, believing that its success will make their minor families greater than the Falcones and the Maronis put together, and attempts to take over Haley's Circus to use its trucks for his smuggling activities. He kills Dick Grayson's parents as a demonstration of power to the circus' owner, and then quickly goes underground. He is later found by Batman and Dick Grayson, who is not yet Robin, and is chased down a dark alley by Grayson until he has a heart attack, confessing to various crimes before dying. Blackest Night Tony Zucco's remains have been reanimated as a Black Lantern in DC Comics's 2009–2010 crossover Blackest Night, with John and Mary Grayson, Jack and Janet Drake, Captain Boomerang, and the deceased members of the original Dark Knight's rogue gallery. Dick Grayson and Tim Drake, who have become the new Batman and Red Robin, respectively face down Zucco and their parent's corpses. Dick eventually cryogenically suspends himself and Tim during the battle, which forces the Black Lanterns to retreat as they are unable to read any signs of life from them. The Black Mirror In The Black Mirror, it is revealed that Zucco had fathered a daughter named Sonia. She is seemingly a legitimate businesswoman and runs the GGM Bank under the alias of Sonia Branch. Dick Grayson, who had recently become the new Batman, initially hopes that Sonia is not as corrupt as her father. However, he is disappointed when he realizes that Sonia manipulated him into subduing rivals who wish to take over her bank. Due to the lack of evidence, Sonia remains beyond the reach of the law. The New 52 In The New 52 (a reboot of DC Universe's continuity), a young Dick Grayson sees Tony Zucco threatening C.C. Haly for protection money. When Haly refuses to pay, Zucco sabotages the trapeze, which causes John and Mary Grayson to fall to their deaths. Dick becomes obsessed with finding Zucco and roams the streets of Gotham City looking for him, eventually encountering Batman and learning that the Dark Knight and his new guardian Bruce Wayne are the same person. Tony is still the father of Sonia Zucco in this continuity, and she and Dick have a tenuous relationship. Zucco had disappeared soon after his arrest and is presumed dead, but Sonia receives an e-mail saying that her father is still alive and living in Chicago, and relays this information to Dick. Zucco is revealed to be working for Chicago Mayor Wallace Cole under the alias Billy Lester. Cole knows of Zucco's criminal record, and years before covered it up by having him declared officially dead. When Nightwing arrives in Chicago, Cole tells a panicked Zucco to go into hiding. Nightwing discovers "Billy Lester"'s true identity, and learns that his parents' murderer has a wife and son. Nightwing shows up in Cole's office, demanding to know why he is protecting Zucco. He then secretly bugs Cole's office. Soon afterward, the Prankster addresses the whole city by video and reveals that Cole has been harboring Zucco for three years. When Zucco learns what has happened, he returns to Chicago to help Nightwing. Zucco tells Nightwing that he murdered Harold Loomis, the man who engineered the city's transportation system, on Cole's orders. He then explains that Prankster is Loomis' son, and he plans to blow up city hall as revenge; he also sent Sonia the email about Zucco to make sure Nightwing got involved. Nightwing and Zucco defuse the explosives and get Cole to safety, and Nightwing fights the Prankster. Zucco saves Nightwing's life by shooting and wounding the Prankster. He is then arrested for murdering Loomis. In jail, Zucco receives a visit from a man who suggests that his employers can help him beat the rap. Zucco insists that he wants to take responsibility to set a good example for his son. The man says there is no point in that, as Zucco's family has left him. Infinite Frontier In the Infinite Frontier Nightwing series, Zucco appeared to have another daughter named Melinda Zucco who is a newly-appointed mayor of Blüdhaven. However, later issues revealed that Tony is not Melinda's father, but rather John Grayson, making both her and Nightwing half-siblings. Melinda's mother, Meili Lin explained that after she was forced to marry Tony, she ran away from him while visiting the circus where she was helped by John and Mary. Meili travelled with the circus and had a brief relationship with John which resulted getting pregnant with Melinda. Eventually, Tony managed to track her down and bring her back to Blüdhaven. Months later Meili gave birth to Melinda with Zucco having suspicions that Melinda wasn't his daughter. After Meili and Melinda left Zucco years later and offered protection from the Maroni Crime Family, Zucco killed both John and Mary and orphaned Dick, in which Dick came to terms that Zucco killed them out of revenge rather than owned him money. Zucco was eventually released from prison and return to Blüdhaven to fill in the power vacuum of the criminal underworld after Blockbuster's death. He reunited with Melinda and offer her to run the city and take Sal Maroni's fortune to control his gangs but she refused. Zucco journeyed to the criminal bank the Hold to steal Maroni's prized gem the Eye of Kahndaq so he would use it to create his own criminal empire, but was tracked down and defeated by Nightwing. Upon returning to prison, Tony was visited by Melinda who revealed to him she legally changed her surname to "Grayson-Lin" and that John Grayson was her true father, disowning the Zucco name and walked away to leave him alone in his cell, leaving Zucco furious. Other versions All Star Batman and Robin In Frank Miller's All Star Batman and Robin the Boy Wonder, Dick Grayson's parents are killed by a low-level hitman named "Jocko-boy" Vanzetti. Throughout the early issues, Batman brutalizes Vanzetti, going so far as to torture him with snake venom-coated batarangs that cause terrifying hallucinations. Batman brings Vanzetti to the Batcave and allows Dick Grayson to "interrogate" him with an axe. Under this torture, Vanzetti reveals that the Joker ordered the hit. Afterwards, Batman throws Vanzetti into Gotham Bay with his hands tied behind his back, though Jocko-boy is later seen climbing out. Earth 3 In the Earth 3 universe, as seen during the "Forever Evil" storyline, Anthony Zucco is a clown who owns a circus. He is killed by Jonathan Grayson, who uses the circus as a front for his criminal activities. In other media Television Tony Zucco appeared in the Batman: The Animated Series two-part episode "Robin's Reckoning", voiced by Thomas F. Wilson. This version is a nephew of Arnold Stromwell. Tony Zucco's aliases include Billy Marin, Simon Dir, Killer Coburn, and Punky Lesh. As in the comics, he threatens Haly's Circus' owner Mr. Haly for protection money and kills Dick Grayson's parents by sabotaging the trapeze ropes after Haly violently refuses him. After Bruce Wayne adopts Dick, Batman goes after Zucco with a vengeance. Following a visit from Batman while denying any involvement in the incident at Haly's Circus, Stromwell becomes enraged at Zucco's actions and kicks him out of the Stromwell Crime Family while disinheriting him, though he does not give him up to the police. After a couple of brief run-ins with Batman, an increasingly paranoid Zucco escapes but returns to Gotham nine years later for the episode's main events. After learning that his parents' murderer has returned, Robin goes after Zucco against Batman's wishes. While hiding at an abandoned amusement park, Zucco is found by Batman and nearly kills him, but Robin arrives and subdues Zucco after the two fight. He almost throws Zucco off the pier, but relents and gives him up to the police, finally finding justice for his family. Tony Zucco appears in The Batman episode "A Matter of Family", voiced by Mark Hamill. This version is a mafia don with his three brothers that are his underlings and are all involved in circus acts. His brothers are a strongman (referred to in the credits as Bruiser and voiced by Maurice LaMarche), a lion tamer, and a juggler. As a child, he was part of a knife-throwing duo with his father, with Tony throwing the knives while his father was bound to the giant target but he missed one time, killing his father. When Zucco offers his "protection" to the Flying Graysons, John Grayson refuses. When John is attacked by Zucco's brothers, Dick Grayson calls the police minutes after Zucco first appears in the Flying Graysons' big top tent. The call is intercepted by Batman quickly taking Zucco and his brothers down, resulting in Zucco's "Lion Tamer" brother being taken away by Gotham police while Zucco and the other two brothers escape. Swearing revenge on Batman and the Graysons, Zucco tampers with the railings of the Graysons' trapeze act, resulting in the deaths of John and Mary Grayson. After John's and Mary's murder, Batman corners every one of Zucco's remaining brothers until learning their boss' whereabouts: Haly's Circus. When Zucco knocks Batman out at Haly's Circus, he straps the Dark Knight to a knife-throwing wheel. However, Robin arrives just in time and battles Zucco long enough for Batman to free himself. At one point, Robin has the chance to enact revenge when Zucco falls from the trapeze platform. Robin chooses to save his parents' murderer and Zucco is then arrested by the police. Tony Zucco appears in the Titans episode "Jason Todd", portrayed by Richard Zeppieri. As with previous depictions, he is responsible for the murders of John and Mary Grayson. Following his arrest, Zucco agrees to testify against the Maroni family in exchange for a release from prison. Upon learning that Zucco will be released, Dick ambushes a police convoy transporting Zucco with the intent of killing him. When the Maronis also arrive to assassinate Zucco, Dick refuses to help him and allows Zucco to be killed by the mobsters. The Maronis subsequently target Zucco's family with only his son Nick surviving. Blaming Dick for what happened to his family, Nick attempts to avenge their deaths by murdering the other members of Dick's circus troupe, but is ultimately defeated by Dick and Jason Todd. Film In Batman Forever, Zucco is replaced by Two-Face as the murderer of Dick Grayson's parents, who also murders Dick's older brother. Miscellaneous Tony Zucco appears in issue #6 of the Young Justice comics. He was featured in a flashback when Robin recaps his history. This version killed John and Mary Grayson as well as Dick's aunt and cousin, and paralyzed his uncle. When Dick Grayson became Robin for the first time, he helped Batman bring Zucco to justice. See also List of Batman family enemies References Batman characters Characters created by Bill Finger Characters created by Bob Kane Characters created by Jerry Robinson Comics characters introduced in 1940 DC Comics male supervillains DC Comics orphans Dick Grayson Fictional immigrants to the United States Fictional gangsters Fictional Italian American people Fictional murderers Fictional crime bosses
Clinchamp () is a commune in the Haute-Marne department in north-eastern France. See also Communes of the Haute-Marne department References Communes of Haute-Marne
Gatorama is an alligator farm and visitor attraction in Palmdale, Florida, USA. Alligators and crocodiles are raised on the farm for meat and skins. Gatorama is one of Florida's oldest roadside attractions. Only six alligator farms are open to the public as attractions. History Cecil Clemons opened the farm in 1957. The alligators were captured locally in the 1960s. Wild crocodiles were caught in Jamaica in 1967-1968. Allen and Patty Register acquired the property in 2006. Attractions Visitors can hold baby alligators as well as pythons. Adult participants can perform the "Fast Hands Challenge" to feed an adult alligator. The daily feed show is free with admission, where guests can watch keepers hand feed alligators from the front bridge. Gatorama has an exhibit dedicated to the critically endangered subspecies Orinoco crocodile (Crocodylus intermedius). The park works with Florida Fish and Wildlife's Statewide Nuisance Alligator Program (SNAP) program to rehome nuisance alligators. Gatorama also features other native Florida wildlife such as the Florida panther, bobcats, racoons, birds, and snakes. In late August, Gatorama hosts an annual Gator Hatchling Festival where visitors can hold an alligator egg while it hatches. Gatorama also sells exotic meat at the park and on their website. References External links Official website Tourist attractions in Glades County, Florida Zoos in Florida Roadside attractions in Florida Articles needing infobox zoo
Sky Group Ltd. is a British media and telecommunications conglomerate, which is a division of Comcast, and headquartered in Isleworth. It has operations in the United Kingdom, Ireland, Germany, Austria, Switzerland and Italy. Sky is Europe's largest media company and pay-TV broadcaster by revenue (), with 23 million subscribers and more than 31,000 employees as of 2019. The company is primarily involved in satellite television, producing and broadcasting. The current CEO is Dana Strong. Initially formed in 1990 by the equal merger of Sky Television and British Satellite Broadcasting, BSkyB became the UK's largest digital pay television company. In 2014, after completing the acquisition of Sky Italia and Sky Deutschland, the merged company changed its name to Sky plc. Prior to November 2018, Rupert Murdoch's 21st Century Fox owned a 39.14% controlling stake in the company; on 9 December 2016, following a previous attempt under News Corporation that was affected by the News International phone hacking scandal, 21st Century Fox announced that it had agreed to buy the remainder of Sky, pending government approval. However, after a bidding war that included the Walt Disney Company (which was, in turn, acquiring most of 21st Century Fox's assets), US media and telecoms conglomerate Comcast acquired the entirety of Sky in 2018 for £17.28 per share. NBCUniversal, which is Sky Group's sister company, is also a subsidiary of Comcast. Before the acquisition by Comcast, Sky was listed on the London Stock Exchange and was a constituent of the FTSE 100 Index and had a market capitalisation of approximately £18.75 billion (€26.76 billion) as of 2018. History BSkyB Formation British Sky Broadcasting (BSkyB) was formed by the merger of Sky Television and British Satellite Broadcasting on 2 November 1990. Both companies had begun to struggle financially and were suffering financial losses as they competed against each other for viewers. The Guardian later characterised the merger as "effectively a takeover by News Corporation". The merger was investigated by the Office of Fair Trading and was cleared a month later since many of the represented views were more concerned about contractual arrangements which had nothing to do with competition. The Independent Broadcasting Authority was not consulted about the deal; after approval, the IBA demanded precise details about the merger, stated they were considering the repercussions of the deal to ultimately determine whether BSB contracts were null and void. On 17 November, the IBA decided to terminate BSB's contract, but not immediately, as it was deemed unfair to 120,000 viewers who had bought BSB devices. Sam Chisholm was appointed CEO in a bid to reorganise the new company, which, continued to make losses of £10 million per week. The defunct BSB's HQ, Marco Polo House were sold, 39% of the new company's employees were made redundant to leave just under 1000 employees, many of the new senior BSkyB executive roles were given to Sky personnel with many BSB leaving the company. In April the nine Sky/BSB channels had been condensed into five, with EuroSport being dropped soon after the Sky Sports launch. Chisholm also renegotiated the merged company's expensive deals with the Hollywood studios, slashing the minimum guaranteed payments. The defunct Marcopolo I satellite was sold in December 1993 to Sweden's NSAB, and Marcopolo II went to Norway's Telenor in July 1992 after the Independent Television Commission (ITC) was unable to find new companies to take over the BSB licences and compete with BSkyB. News International received 50%, Pearson PLC 17.5%, Chargeurs 17.5%, Granada 12%, Reed International 2% of the new shares in the company. By September 1991, the weekly losses had been reduced to £1.5M a week, Rupert Murdoch said "there were strong financial marketing and political reason[s] for making the compromise merger instead of letting BSB die. Many of the lessons had been learnt with more than half the running cost of the combined company". Further cuts in losses were a direct result of 313,000 new customers joining during the first half of 1991. By March 1992, BSkyB posted its first operating profits, of £100,000 per week, with £3.8 million weekly from subscriptions and £1 million from advertising, but continued to be burdened with £1.28 billion of debt. Stockbroker firm James Capel forecast BSkyB would still be indebted in 2000. In the autumn of 1991, talks were held for the broadcast rights for Premier League for a five-year period, from the 1992 season. British television network ITV were the current rights holders for the Football League, and fought hard to gain the new rights. ITV had increased its offer from £18m to £34m per year to obtain the new rights. BSkyB joined forces with the BBC to make a counter bid. The BBC was given the highlights of most of the matches, while BSkyB paid £304m for the Premier League rights, giving them a monopoly of all live matches, up to 60 per year from the 1992–93 season. Murdoch has described sport as a "battering ram" for pay-television, providing a strong customer base. A few weeks after the deal, ITV went to the High court to get an injunction as it believed their details were leaked before the decision was taken. ITV also asked the Office of Fair Trading to also investigate since it believed Rupert Murdoch's media empire via the newspapers had influenced the deal. A few days later neither action took effect, ITV believed BSkyB was telephoned and informed of its £262m bid, and the Premier League advised BSkyB to increase its counter bid. BSkyB retained the rights paying £670m for the 1997–2001 deal, but was challenged by On Digital for the rights from 2001 to 2004, thus it was forced to pay £1.1 billion which gave it 66 live games a year. Following a lengthy legal battle with the European Commission, which deemed the exclusivity of the rights to be against the interests of competition and the consumer, BSkyB's monopoly came to an end from the 2007–08 season. In May 2006, the Irish broadcaster Setanta Sports was awarded two of the six Premiership packages that the English FA offered to broadcasters. Sky picked up the remaining four for £1.3bn. Becoming a public limited company In October 1994, BSkyB announced its plans to float the company on the UK and US stock exchanges, selling off 20% of the company. The stock flotation reduced Murdoch's holding to 40 per cent and raised £900m, which allowed the company to cut its debt in half. Sam Chisholm said "By any standards this is an excellent result, in every area of the company has performed strongly". Chisholm became one of the world's most highly paid television executives. In 1995, BSkyB opened its second customer management centre at Dunfermline, Scotland, in addition to its original centre at Livingston which opened in 1989. BSkyB entered the FTSE 100 index, operation profits increased to £155M a year, and Pearson sold off its 17.5% stake in the company. Sam Chisholm resigned from BSkyB due to a rift with Rupert Murdoch in June 1997. A week later, Murdoch was quoted as saying "I cannot understand the fuss; BSkyB was grossly overpriced", which caused further rifts with the new management. In 1997, BSkyB formed a partnership with Carlton and Granada to bid for the right for the new digital terrestrial network. In June, it was awarded the right to start the service, ONdigital, under the condition BSkyB withdrew from the group's bid. In February 2003 BSkyB wished to renegotiate its deal with MTV to reduce its payment from £20m. Chief executive Tony Ball said "We're definitely prepared to stare them down if we can't get a sensible deal. MTV, and other channels, have done particularly well out of the growth of Sky but the opportunity for savings is now there and Sky will be taking it," he added. "MTV has done extremely well out of that original deal." On 17 April 2003 BSkyB launched its own range of music channels Scuzz, Flaunt and The Amp, as part of its plan to create its own original channels for the platform. Within 18 months the channels failed to make impact, and were outsourced to the Chart Show Channels company. Shortly afterwards it acquired Artsworld, giving a majority of subscribers full access to the channel. The buyout was part of James Murdoch's strategy to improve the perceptions BSkyB which could lead to potential new subscribers. John Cassy, the channel manager of Artsworld, said: "It is great news for the arts that a dedicated cultural channel will be available to millions of households." In early 2007 Freeview overtook Sky Digital with nearly 200,000 more subscribers at the end of 2006, while cable broadcaster Virgin Media had three million customers. In July 2007, BSkyB announced the takeover of Amstrad for £125m, a 23.7% premium on its market capitalisation. BSkyB and Virgin Media announced that they had reached agreement for the acquisition by BSkyB of Virgin Media Television. Virgin1 was also a part of the deal and was rebranded as Channel One on 3 September 2010, as the Virgin name was not licensed to Sky. The new carriage deals are understood to be for up to nine years. The deal was completed in July 2010 and Virgin Media Television was renamed Living TV Group. In June 2010, News Corporation made a bid for complete ownership of BSkyB. However, following the News International phone hacking scandal, critics and politicians began to question the appropriateness of the proposed takeover. The resulting reaction forced News Corp. to withdraw its bid for the company in July 2011. The scandal forced the resignation of James Murdoch, who was the chairman of both BSkyB and News International, from his executive positions in the UK, with Nicholas Ferguson taking over as Chairman of BSkyB. In September 2012, Ofcom ruled that BSkyB was still fit to hold broadcast licenses in the UK, but criticised James Murdoch's handling of the scandal. On 28 June 2013, News Corporation was split into two publicly-traded companies; the company's publishing operations (including News International, renamed News UK) and broadcasting operations in Australia were spun into a new company known as News Corp, while the company's broadcast media assets, including its 39.14% stake in Sky, were renamed 21st Century Fox. European acquisitions On 12 May 2014, BSkyB confirmed that it was in talks with its largest shareholder, 21st Century Fox, about acquiring 21st Century Fox's 57.4% stake in Sky Deutschland and its 100% stake in Sky Italia. The enlarged company (dubbed "Sky Europe" in the media) will consolidate 21st Century Fox's European digital TV assets into one company. The £4.9 billion takeover deal was formally announced on 25 July, where BSkyB would acquire 21st Century Fox's stakes in Sky Deutschland and Sky Italia. BSkyB also made a required takeover offer to Sky Deutschland's minority shareholders, resulting in BSkyB acquiring 89.71% of Sky Deutschland's share capital. The acquisitions were completed on 13 November. Sky plc British Sky Broadcasting Group plc changed its name to Sky plc to reflect the European acquisitions, and the United Kingdom operations were renamed Sky UK Limited. Sky plc bought out the remaining minority shareholders in Sky Deutschland during 2015, using a squeeze-out procedure to obtain the remaining shares and delist Sky Deutschland on 15 September 2015. Competition around being acquired On 9 December 2016, 21st Century Fox announced that it had made an offer to acquire the remainder of Sky plc for £11.7 billion at a value of £10.75 per-share. It marked Fox's second attempt to take over Sky, as its previous attempt under News Corporation was affected by the News International scandal. The two companies reached an agreement on the deal on 15 December, subject to regulatory approval. Ofcom expressed concern that this purchase would give the Murdoch family "material influence over news providers with a significant presence across all key platforms" and "increased influence over the UK news agenda and the political process". However, the regulator did deem that a Fox-owned Sky would be "fit and proper" to hold broadcast licences, despite the recent sexual harassment controversies that had emerged at the US Fox News Channel, as there was no evidence to the contrary. Avaaz opposed Ofcom's opinion, stating that the regulator "made mistake after mistake in deciding to give the Murdochs a clean bill of health to take over more of our media". The Walt Disney Company announced on 14 December 2017 that it would acquire 21st Century Fox, including its stake in Sky plc but barring specific US assets. Fox stated that this purchase would "not alter [its] full commitment and obligation to conclude our proposed transaction". Analysts suggested that Disney's proposed transaction could ease regulatory concerns over Fox's purchase of Sky, as the company will eventually lose its ties to the Murdoch family. Disney has a narrower scope of media ownership in the country than the Murdoch family. Sky already has a relationship with Disney for its Sky Cinema service, holding pay television rights to its films in the United Kingdom and operating a dedicated Sky Cinema channel devoted to Disney content. A preliminary report by the Competition and Markets Authority issued January 2018 called for the insulation or outright divestment of Sky News as a condition of the purchase, so that it is editorially independent from the Murdoch family. Sky had threatened to reevaluate the channel's continued operations if they "unduly impeded merger and/or other corporate opportunities available in relation to Sky's broader business". The channel has operated on a loss of at least £40 million per-year. In February 2018, Fox proposed the establishment of an independent editorial board, and committing to fund the network for at least 10 years. This commitment would be inherited by Disney after the completion of its purchase of 21st Century Fox. On 3 April 2018, Fox stated that Disney had "expressed an interest in acquiring Sky News", which would not be conditional on its proposal to acquire 21st Century Fox. A bidding war began 25 April 2018, when the competing US media and telecoms conglomerate Comcast (owner of NBCUniversal), announced a counter-offer for Sky at £12.50 per-share, or approximately £22.1 billion. NBCUniversal CEO Steve Burke stated that purchasing Sky would roughly double its presence in English-speaking markets, and allow for synergies between the respective networks and studios of NBCUniversal and Sky. On 5 June 2018, Culture Secretary Matt Hancock cleared both 21st Century Fox and Comcast's respective offers to acquire Sky plc. Fox's offer was contingent on the divestiture of Sky News. On 12 June 2018, Comcast announced a US$65 billion counter-offer to acquire the 21st Century Fox assets that Disney had offered to purchase. However, Fox subsequently agreed to an increased, US$71.3 billion offer from Disney instead. On 15 June 2018, the European Commission gave antitrust clearance to Comcast's offer to purchase Sky, citing that in terms of their current assets in Europe, there would be limited impact on competition. Comcast included a 10-year commitment to the operations and funding of Sky News similar to that of Disney's offer. On 19 June 2018, Disney formally agreed to acquire Sky News as part of Fox's proposed bid, with a 15-year commitment to increase its annual funding from £90 million to £100 million. On 11 July 2018, Fox increased its bid for Sky to £14.00 per share, valuing it at £24.5 billion. Comcast subsequently counterbid just hours later with an offer at £14.75 per-share, valued at £26 billion. On 19 July 2018, after Fox agreed to a Disney counter-offer, it was reported that Comcast had abandoned its bid for 21st Century Fox to focus solely on Sky. On 20 September 2018, the Panel on Takeovers and Mergers ordered that a blind auction be held "in order to provide an orderly framework for the resolution of this competitive situation". In this process, Fox, followed by Comcast, made new cash-only bids for Sky. After these first two rounds of bidding, there would be a third round where both companies could make new offers. However, the third round of bidding would only be binding if both companies make a bid. The results were to be revealed on 22 September, and be confirmed by the start of trading on 24 September. Comcast won the auction with a bid of £17.28 per-share, beating Fox's bid of £15.67. Sky plc had until 11 October to formally accept this offer. Following its auction victory, Comcast began to acquire Sky shares from the open market. On 26 September 2018, Fox subsequently announced its intent to sell all of its shares in Sky plc to Comcast for £12 billion. On 4 October 2018, Fox completed the sale of their shares, giving Comcast a 76.8% controlling stake at the time. Sky Group Ltd On 12 October 2018, Comcast announced it would compulsorily acquire the rest of Sky after its bid gained acceptances from 95.3% of the broadcaster's shareholders with the company being delisted by early 2019. Sky was delisted on 7 November 2018 after Comcast acquired all remaining shares. In August 2021, Sky Group signed a deal with ViacomCBS to launch Paramount+ in the United Kingdom, Ireland, Italy, Germany, Switzerland and Austria by 2022. On 3 May 2022, it was announced that Paramount+ will launch on 22 June 2022 for Sky customers in Ireland and the United Kingdom. Management Executive Chairman: Jeremy Darroch (since January 2021) Chief Executive: Dana Strong (since January 2021) List of former chairmen Rupert Murdoch (1990–2007) James Murdoch (2007–2012) Nicholas Ferguson (2012–2016) James Murdoch (2016–2018); second term List of former chief executives Sam Chisholm (1990–1997) Mark Booth (1997–1999) Tony Ball (1999–2003) James Murdoch (2003–2007) Jeremy Darroch (2007–2021) The first CEO of BSkyB was Sam Chisholm, who was CEO of Sky TV before the merger. Chisholm served in this position until 1997. He was followed by Mark Booth who was credited with leading the company through the introduction of Sky. Tony Ball was appointed in 1999 and completed the company's analogue to digital conversion. He is also credited with returning the company to profit and bringing subscriber numbers to new heights. In 2003, Ball announced his resignation and James Murdoch, son of Rupert Murdoch was announced as his successor. This appointment caused allegations of nepotism from shareholders. On 7 December 2007, it was announced that Rupert Murdoch would be stepping down as BSkyB's non-executive chairman and would be replaced by his son, James. In turn, James stepped down as CEO of BSkyB, to be replaced by Jeremy Darroch. It was estimated that Darroch would earn around £38.2 million from selling Sky to Comcast. He sold his 775,772 shares in Sky worth £13.4 million and would cash in on previously awarded bonus shares. In January 2021, it was announced that Darroch would be standing down as CEO, and will become executive chairman of Sky for the remainder of 2021, and will then be an advisor to the company. He will be succeeded as CEO by Dana Strong. The current company directors are Comcast personnel: Michael J Cavanagh (Comcast senior VP & CFO), Arthur R Block (legal counsel) and David L Cohen (senior VP & CDO). Financial performance Financial results have been as shown in the table. In February 2019, The Economist magazine claimed that Sky enjoys gross margins of 50%. Current operations Subsidiaries Ventures Sky services per country Former operations Subsidiaries Ventures Stake in ITV ITV plc has been the subject of a flurry of rumoured take-over and merger bids since it was formed. For example, on 9 November 2006, NTL announced that it had approached ITV plc about a proposed merger. The merger was effectively blocked by BSkyB on 17 November 2006 when it controversially bought a 17.9% stake in ITV plc for £940 million, a move that attracted anger from NTL shareholder Richard Branson and an investigation from media and telecoms regulator Ofcom. On 6 December 2006, NTL announced that it had complained to the Office of Fair Trading about BSkyB's move. NTL stated that it had withdrawn its attempt to buy ITV plc, citing that it did not believe that there was any possibility to make a deal on favourable terms. On 17 July 2014, BSkyB's 6.4% stake in ITV was sold to Liberty Global, valued at £481 million. References External links British companies established in 1990 Mass media companies established in 1990 Direct broadcast satellite services Comcast subsidiaries Television networks in the United Kingdom British brands 2018 mergers and acquisitions Companies formerly listed on the London Stock Exchange British subsidiaries of foreign companies Former News Corporation subsidiaries Pan-European media companies
Karlstadt (Main) station () is a railway station in the municipality of Karlstadt am Main, located in the Main-Spessart district in Bavaria, Germany. References Railway stations in Bavaria Main-Spessart
Nostradamus is a vertically scrolling shooter released by Face in 1993. Players control either Dalas (player one) or Joanna (player two) to shoot down many different enemies and then defeat the level boss to advance through the game's nine stages. Plot According to one of Nostradamus' supposed prophecies, in July 1999, a great leader would come from the sky to rebirth an old ruler over a lost province on Earth. In the game's story, this prediction comes true in the form of an alien invasion. Originating from Saturn, the alien invasion force quickly attacks many locations on Earth in preparation for an even bigger assault and possible complete global domination. Efforts are put into the design of advanced space fighters and mecha along with the best fighter pilots - in this case, pilots Dalas and Joanna - to combat the Saturnites and dispel any further doom prophecies from materializing on Earth. Gameplay The Normal Shot of the player ship differed depending on the player; For Player 1's ship, the more power-ups the player obtained, the more the Normal Shots loop behind the ship whereas Player 2's ship would provide more forward-firing shots. The player ship has an Option weapon called the Energy Boost Accelerator (EBA). Once selected, the player can charge the system up forming an energy barrier behind the ship which serves as a shield that protects the ship from rear attacks. Once the player releases the button, the EBA will unleash an attack. There are two varieties of EBA attack which are dependent on the color of the EBA: the blue EBA unleashes the Plasmic Wave which is a large blue laser beam that covers the front and back of the ship while the red EBA is the Phoenix Wave, a short-range fire blast that covers the front of the ship. The blue EBA also provides homing plasma shots while the red EBA provides fireball shots. The only other pick-up items were Bonus Points, 1Ups and Power-Up gems. Each EBA has a mid-charge shot that provides different attacks. The Blue mid-charge shot provides a backward and forward firing laser beam while the red EBA provides a longer range, but weaker full charge shot. If shot, the player had but a few seconds to steer the ship into any remaining enemies before it exploded, which serves as a last second attack. Reception In Japan, Game Machine listed Nostradamus on their November 1, 1993 issue as being the twenty-fifth most-successful table arcade unit of the month. References External links Nostradamus at Arcade History 1993 video games Arcade video games Arcade-only video games Face (company) games Vertically scrolling shooters Cultural depictions of Nostradamus Video games based on real people Video games developed in Japan
Maggie Pogue Johnson (1883-1956) was a twentieth century Black American composer and poet. Johnson wrote verse in both standard English as well as in the dialect and speech patterns of Black Americans at the time, which still retained the influence of their speech from when they were enslaved. Biography Johnson was born in Fincastle, Virginia, and educated in the Virginia Normal and Industrial Institute in Petersburg, Virginia. Her parents, Lucie Jane Banister Pogue and Rev. Samuel Pogue made sure their children are literate and well-educated, considering the fields that she and her siblings ended up in, such as teaching, physics, pharmacy, and ministerial work. Johnson taught for two years and was also the president of the Literary and Debating Society in Covington, Virginia. She was the composer of "I Know That I Love You" and other songs, as well as the author of Virginia Dreams. Her poem The Story of Lovers Leap was inspired by a famous resorts in the South, Greenbrier White Sulpher Springs in West Virginia. Johnson's early poetry was part of a larger movement by Black women poets to create a model of womanhood that was an alternative to the dominant model of "True Womanhood" as a white, middle-class experience. Examples of her alternative model of womanhood can be seen in Old Maid's Soliloquy and Meal Time from Virginia Dreams. Her poem Poet of Our Race is dedicated to the late poet Paul Laurence Dunbar. She married Doctor Walter W. Staunton of Virginia in 1904 with whom she had one child - Walter W. Jr. and Dr. J.W. Shellcroft of West Virginia in 1938. Publications Virginia Dreams: Lyrics for an Idle Hour. Tales of the Time Told in Rhyme, publisher not identified, 1910. Thoughts for Idle Hours, Stone Printing & Manufacturing Company, 1915. Fallen Blossoms, Scholl Printing, 1951. Childhood Hours with Songs for Little Tots, publisher not identified, 1952. Gendered Dialect Johnson aimed at confronting gender restrictions in her work despite its critical consequences on black female writers. Dialect poetry was mainly a male-attributed art and her use of it endangered her femininity, since black women were already thought to be uneducated and less feminine. Therefore the use of a language that does not abide by white standardized eloquence and correctness was considered risky and threatening. Johnson emphasizes this in her alternation between standard and dialect language in many of her poems. Doing so, she showcases how conditional it was for women of color to learn and use conventional language in order to be accepted in society. Moreover, in much of her poetry, both her male and female subjects serve as exemplars of educational development and moral strength, and as such support the idea of racial uplift. References 1883 births 1956 deaths American women poets 20th-century American poets 20th-century American women writers African-American poets 20th-century African-American women writers 20th-century African-American writers
Sexual fluidity is one or more changes in sexuality or sexual identity (sometimes known as sexual orientation identity). Sexual orientation is stable and unchanging for the vast majority of people, but some research indicates that some people may experience change in their sexual orientation, and this is more likely for women than for men. There is no scientific evidence that sexual orientation can be changed through psychotherapy. Sexual identity can change throughout an individual's life, and does not have to align with biological sex, sexual behavior or actual sexual orientation. According to scientific consensus, sexual orientation is not a choice. There is no consensus on the exact cause of developing a sexual orientation, but genetic, hormonal, social and cultural influences have been examined. Scientists believe that it is caused by a complex interplay of genetic, hormonal, and environmental influences. Although no single theory on the cause of sexual orientation has yet gained widespread support, scientists favor biologically-based theories. Research over several decades has demonstrated that sexual orientation can be at any point along a continuum, from exclusive attraction to the opposite sex to exclusive attraction to the same sex. The results of a large-scale, longitudinal study by Savin-Williams, Joyner, and Rieger (2012) indicated that stability of sexual orientation identity over a six-year period was more common than change, and that stability was greatest among men and those identifying as heterosexual. While stability is more common than change, change in sexual orientation identity does occur and the vast majority of research indicates that female sexuality is more fluid than male sexuality. This could be attributed to females' higher erotic plasticity or to sociocultural factors that socialize women to be more open to change. Due to the gender differences in the stability of sexual orientation identity, male and female sexuality may not function via the same mechanisms. Researchers continue to analyze sexual fluidity to better determine its relationship to sexual orientation subgroups (i.e., bisexual, lesbian, gay, etc.). Use of the term sexual fluidity has been attributed to Lisa M. Diamond. The term and the concept gained recognition in the psychological profession and in the media. Background Often, sexual orientation and sexual identity are not distinguished, which can impact accurately assessing sexual identity and whether or not sexual orientation is able to change; sexual orientation identity can change throughout an individual's life, and may or may not align with biological sex, sexual behavior or actual sexual orientation. While the Centre for Addiction and Mental Health and American Psychiatric Association state that sexual orientation is innate, continuous or fixed throughout their lives for some people, but is fluid or changes over time for others, the American Psychological Association distinguishes between sexual orientation (an innate attraction) and sexual orientation identity (which may change at any point in a person's life). Scientists and mental health professionals generally do not believe that sexual orientation is a choice. The American Psychological Association states that "sexual orientation is not a choice that can be changed at will, and that sexual orientation is most likely the result of a complex interaction of environmental, cognitive and biological factors...is shaped at an early age...[and evidence suggests] biological, including genetic or inborn hormonal factors, play a significant role in a person's sexuality." They say that "sexual orientation identity—not sexual orientation—appears to change via psychotherapy, support groups, and life events." The American Psychiatric Association says individuals may "become aware at different points in their lives that they are heterosexual, gay, lesbian, or bisexual" and "opposes any psychiatric treatment, such as 'reparative' or 'conversion' therapy, which is based upon the assumption that homosexuality per se is a mental disorder, or based upon a prior assumption that the patient should change his/her homosexual orientation". They do, however, encourage gay affirmative psychotherapy. In the first decade of the 2000s, psychologist Lisa M. Diamond studied 80 non-heterosexual women over several years. She found that in this group, changes in sexual identity were common, although they were typically between adjacent identity categories (such as 'lesbian' and 'bisexual'). Some change in self-reported sexual feeling occurred among many of the women, but it was small, only averaging about 1 point on the Kinsey scale on average. The range of these women's potential attractions was limited by their sexual orientations, but sexual fluidity permitted movement within that range. In her book Sexual Fluidity, which was awarded with the 2009 Lesbian, Gay, Bisexual, and Transgender Issues Distinguished Book Award by Division 44 of the American Psychological Association, Diamond speaks of female sexuality and trying to go beyond the language of "phases" and "denial", arguing that traditional labels for sexual desire are inadequate. For some of 100 non-heterosexual women she followed in her study over a period of 10 years, the word bisexual did not truly express the versatile nature of their sexuality. Diamond calls "for an expanded understanding of same-sex sexuality." Diamond, when reviewing research on lesbian and bisexual women's sexual identities, stated that studies find "change and fluidity in same-sex sexuality that contradict conventional models of sexual orientation as a fixed and uniformly early-developing trait." She suggested that sexual orientation is a phenomenon more connected with female non-heterosexual sexuality, stating, "whereas sexual orientation in men appears to operate as a stable erotic 'compass' reliably channeling sexual arousal and motivation toward one gender or the other, sexual orientation in women does not appear to function in this fashion... As a result of these phenomena, women's same-sex sexuality expresses itself differently from men's same-sex sexuality at every stage of the life course." Biology and stability Conversion therapy (attempts to change sexual orientation) is rarely successful. In Maccio's (2011) review of sexual reorientation therapy attempts, she lists two studies that claim to have successfully converted gay men and lesbians to heterosexuals and four that demonstrate the contrary. She sought to settle the debate using a sample that was not recruited from religious organizations. The study consisted of 37 former conversion therapy participants (62.2% were male) from various cultural and religious backgrounds who currently or previously identified as lesbian, gay, or bisexual. The results indicated that there were no statistically significant shifts in sexual orientation from pre- to post-treatment. In follow-up sessions, the few changes in sexual orientation that did occur following therapy did not last. This study stands as support for the biological origin of sexual orientation, but the largely male sample population confounds the findings. Further support for the biological origin of sexual orientation is that gender atypical behavior in childhood (e.g., a young boy playing with dolls) appears to predict homosexuality in adulthood (see childhood gender nonconformity). A longitudinal study by Drummond et al. (2008) looked at young girls with gender dysphoria (a significant example of gender atypical behavior) and found that the majority of these girls grew up to identify as bisexual or lesbian. Many retrospective studies looking at childhood behavior are criticized for potential memory errors; so a study by Rieger, Linsenmeier, Gygax, & Bailey (2008) used home videos to investigate the relationship between childhood behaviors and adult sexual orientation. The results of this study support biological causation, but an understanding of how cultural assumptions about sexuality can affect sexual identity formation is also considered. There is strong evidence for a relationship between fraternal birth order and male sexual orientation, and there has been biological research done to investigate potential biological determinants of sexual orientation in men and women. One theory is the second to fourth finger ratio (2D:4D) theory. Some studies have discovered that heterosexual women had higher 2D:4D ratios than did lesbian women but the difference was not found between heterosexual and gay men. Similarly, a study has shown that homosexual men have a sexually dimorphic nucleus in the anterior hypothalamus that is the size of females'. Twin and family studies have also found a genetic influence. Changes in sexuality Demographics General One study by Steven E. Mock and Richard P. Eibach from 2011 shows 2% of 2,560 adult participants included in National Survey of Midlife Development in the United States reported change of sexual orientation identities after a 10-year period: 0.78% of male and 1.36% of female persons that identified themselves to be heterosexuals at the beginning of the 10-year period, as well as 63.6% of lesbians, 64.7% of bisexual females, 9.52% of gay males, and 47% of bisexual males. According to the study, "this pattern was consistent with the hypothesis that heterosexuality is a more stable sexual orientation identity, perhaps because of its normative status. However, male homosexual identity, although less stable than heterosexual identity, was relatively stable compared to the other sexual minority identities". Having only adults included in the examined group, they did not find the differences in fluidity which were affected by age of the participants. However, they stated that "research on attitude stability and change suggests most change occurs in adolescence and young adulthood (Alwin & Krosnick, 1991; Krosnick & Alwin, 1989), which could explain the diminished impact of age after that point". Males versus females Research generally indicates that while the vast majority of men and women are stable and unchanging in their orientation and identity; when it comes to those who are fluid, female sexuality is more fluid than male sexuality. In a seminal review of the sexual orientation literature, stimulated by the findings that the 1970s sexual revolution affected female sexuality more so than male sexuality, research by Baumeister et al. indicated that when compared to males, females have lower concordance between sexual attitudes and behaviors, and sociocultural factors affect female sexuality to a greater degree; it also found that personal change in sexuality is more common for females compared to males. Female sexuality (lesbian and heterosexual) changes significantly more than males on both dimensional and categorical measures of sexual orientation. Furthermore, the majority of homosexual women who previously identified as a different sexual orientation identified as heterosexual; whereas for males, the majority previously identified as bisexual, which the authors believe support the idea of greater fluidity in female sexuality. Females also report having identified with more than one sexual orientation, more often than males and are found to have higher levels of sexual orientation mobility. Females also report being bisexual or unsure of their sexuality more often than males, who more commonly report being exclusively gay or heterosexual. Over a six-year period, women have also been found to display more shifts in sexual orientation identity and were more likely to define their sexual orientation with non-exclusive terms. The social constructivist view suggests that sexual desire is a product of cultural and psychosocial processes and that men and women are socialized differently. This difference in socialization can explain differences in sexual desire and stability of sexual orientation. Male sexuality is centered around physical factors, whereas female sexuality is centered around sociocultural factors, making female sexuality inherently more open to change. The greater effect on female sexuality in 1970s sexual revolution shows that female shifts in sexual orientation identity may be due to greater exposure to moderating factors (such as the media). In western culture, women are also expected to be more emotionally expressive and intimate towards both males and females. This socialization is a plausible cause of greater female sexual fluidity. Whether female sexuality is naturally more fluid and therefore changes from social factors or social factors cause female sexuality to be less stable is unknown. An evolutionary psychology hypothesis proposes that bisexuality enables women to reduce conflict with other women, by promoting each others' mothering contributions, thus ensuring their reproductive success. According to this view, women are capable of forming romantic bonds with both sexes and sexual fluidity may be explained as a reproductive strategy that ensures the survival of offspring. A longitudinal study concluded that stability of sexual orientation was more common than change. Gender differences in the stability of sexual orientation may vary by subgroup and could possibly be related to individual differences more than gender-wide characteristics. Youth (age 14–21) One study that did compare the stability of youth sexual orientation identity across genders found results opposite to most done with adult samples. The study compared non-heterosexual male and female sexual orientation over a year and concluded that female youth were more likely to report consistent sexual identities than males. The study was conducted over a single year. Youth appears to be when most change in sexual orientation identity occurs for females. A 10-year study compared sexual orientation as measured at four times during the study. The most change was found between the first (taken at 18 years of age) and second (taken at 20 years of age) measurements which was the only time bracket that fell during adolescence. A population-based study conducted over 6 years found that nonheterosexual (gay/lesbian/bisexual) male and female participants were more likely to change sexual orientation identity than heterosexual participants. A yearlong study found that sexual identity was more stable for gay and lesbian youth participants when compared to bisexual participants. The identity integration process that individuals go through during adolescence appears to be associated with changes in sexual identity; adolescents who score higher on identity integration measures are more consistent in their sexual orientation. Bisexual youths seem to take longer to form their sexual identities than do consistently homosexual or heterosexual identifying youths so bisexuality may be seen as a transitional phase during adolescence. Rosario et al. (2006) conclude that "acceptance, commitment, and integration of a gay/lesbian identity is an ongoing developmental process that, for many youths, may extend through adolescence and beyond." Sabra L. Katz-Wise and Janet S. Hide report in article published 2014 in "Archives of Sexual Behavior" of their study on 188 female and male young adults in the United States with a same-gender orientation, aged 18–26 years. In that cohort, sexual fluidity in attractions was reported by 63% of females and 50% of males, with 48% of those females and 34% of those males reporting fluidity in sexual orientation identity. Bisexuality as a transitional phase Bisexuality as a transitional phase on the way to identifying as exclusively lesbian or gay has also been studied. In a large-scale, longitudinal study, participants who identified as bisexual at one point in time were especially likely to change sexual orientation identity throughout the six-year study. A second longitudinal study found conflicting results. If bisexuality is a transitional phase, as people grow older the number identifying as bisexual should decline. Over the 10-year span of this study (using a female-only sample), the overall number of individuals identifying as bisexual remained relatively constant (hovering between 50 and 60%), suggesting that bisexuality is a third orientation, distinct from homosexuality and heterosexuality and can be stable. A third longitudinal study by Kinnish, Strassberg, and Turner (2005) supports this theory. While sex differences in sexual orientation stability were found for heterosexuals and gays/lesbians, no sex difference was found for bisexual men and women. Bisexuality remains "undertheorized and underinvestigated". Cultural debate The exploration on sexual fluidity initiated by Lisa M. Diamond presented a cultural challenge to the LGBT community; this is because although researchers usually emphasize that changes in sexual orientation are unlikely, despite conversion therapy attempts, sexual identity can change over time. That sexual orientation is not always stable challenges the views of many within the LGBT community, who believe that sexual orientation is fixed and immutable. There is some level of cultural debate regarding the question of how (and if) fluidity exists among men, including questions regarding fluctuations in attractions and arousal in male bisexuals. Sexual fluidity may overlap with the label abrosexual, which has been used to refer to regular changes in one's sexuality. See also Bambi effect (slang) Bi-curious Biology and sexual orientation Environment and sexual orientation List of people who identify as sexually fluid Pansexuality Questioning (sexuality and gender) Situational sexual behavior References Interpersonal relationships Sexual orientation LGBT
Amelogenesis imperfecta (AI) is a congenital disorder which presents with a rare abnormal formation of the enamel or external layer of the crown of teeth, unrelated to any systemic or generalized conditions. Enamel is composed mostly of mineral, that is formed and regulated by the proteins in it. Amelogenesis imperfecta is due to the malfunction of the proteins in the enamel (ameloblastin, enamelin, tuftelin and amelogenin) as a result of abnormal enamel formation via amelogenesis. People with amelogenesis imperfecta may have teeth with abnormal color: yellow, brown or grey; this disorder can affect any number of teeth of both dentitions. Enamel hypoplasia manifests in a variety of ways depending on the type of AI an individual has (see below), with pitting and plane-form defects common. The teeth have a higher risk for dental cavities and are hypersensitive to temperature changes as well as rapid attrition, excessive calculus deposition, and gingival hyperplasia. The earliest known case of AI is in an extinct hominid species called Paranthropus robustus, with over a third of individuals displaying this condition. Genetics Multiple gene expression is needed for enamel formation, in which the relevant matrix proteins and proteinases are transcribed, for regular crystal growth and enamel mineralization. Mutations in the AMELX, ENAM, MMP20, KLK-4, FAM83H, WDR72, C4orf26, SLC24A4 LAMB3 and ITGB6 genes have been found to cause amelogenesis imperfecta (non-syndromic form). AMELX and ENAM encode extracellular matrix proteins of the developing tooth enamel and KLK-4 and MMP20 encode proteases that help degrade organic matter from the enamel matrix during the maturation stage of amelogenesis. SLC24A4 encodes a calcium transporter that mediates calcium transport to developing enamel during tooth development. Less is known about the function of other genes implicated in amelogenesis imperfecta. Researchers expect that mutations in further genes are likely to be identified as causes of amelogenesis imperfecta. Types include: Amelogenesis imperfecta can have different inheritance patterns depending on the gene that is altered. Mutations in the ENAM gene are the most frequent known cause and are most commonly inherited in an autosomal dominant pattern. This type of inheritance means one copy of the altered gene in each cell is sufficient to cause the disorder. Amelogenesis imperfecta is also inherited in an autosomal recessive pattern; this form of the disorder can result from mutations in the ENAM, MMP20, KLK4, FAM20A, C4orf26 or SLC24A4 genes. Autosomal recessive inheritance means two copies of the gene in each cell are altered. About 5% of amelogenesis imperfecta cases are caused by mutations in the AMELX gene and are inherited in an X-linked pattern. A condition is considered X-linked if the mutated gene that causes the disorder is located on the X chromosome, one of the two sex chromosomes. In most cases, males with an X-linked form of this condition experience more severe dental abnormalities than affected females. Recent genetic studies suggest that the cause of a significant proportion of amelogenesis imperfecta cases remains to be discovered. Diagnosis AI can be classified according to their clinical appearances: Type 1 - Hypoplastic Enamel of abnormal thickness due to malfunction in enamel matrix formation. Enamel is very thin but hard & translucent, and may have random pits & grooves. Condition is of autosomal dominant, autosomal recessive, or x-linked pattern. Enamel differs in appearance from dentine radiographically as normal functional enamel. Type 2 - Hypomaturation Enamel has sound thickness, with a pitted appearance. It is less hard compared to normal enamel, and are prone to rapid wear, although not as intense as Type 3 AI. Condition is of autosomal dominant, autosomal recessive, or x-linked pattern. Enamel appears to be comparable to dentine in its radiodensity on radiographs. Type 3 - Hypocalcified Enamel defect due to malfunction of enamel calcification, therefore enamel is of normal thickness but is extremely brittle, with an opaque/chalky presentation. Teeth are prone to staining and rapid wear, exposing dentine. Condition is of autosomal dominant and autosomal recessive pattern. Enamel appears less radioopaque compared to dentine on radiographs. Type 4 - Hypomature hypoplastic enamel with taurodontism Enamel has a variation in appearance, with mixed features from Type 1 and Type 2 AI. All Type 4 AI has taurodontism in common. Condition is of autosomal dominant pattern. Other common features may include an anterior open bite, taurodontism, sensitivity of teeth. Differential diagnosis would include dental fluorosis, molar-incisor hypomineralization, chronological disorders of tooth development. Treatment Preventive and restorative dental care is very important as well as considerations for esthetic issues since the crown are yellow from exposure of dentin due to enamel loss. The main objectives of treatment is pain relief, preserving patient's remaining dentition, and to treat and preserve the patient's occlusal vertical height. Many factors are to be considered to decide on treatment options such as the classification and severity of AI, the patient's social history, clinical findings etc. There are many classifications of AI but the general management of this condition is similar. Full-coverage crowns are sometimes being used to compensate for the abraded enamel in adults, tackling the sensitivity the patient experiences. Usually stainless steel crowns are used in children which may be replaced by porcelain once they reach adulthood. These aid with maintaining occlusal vertical dimension. Aesthetics may be addressed via placement of composite or porcelain veneers, depending on patient factors e.g. age. If the patient has primary or mixed dentition, lab-made composite veneers may be provided temporarily, to be replaced by permanent porcelain veneers once the patient has stabilized permanent dentition. The patient's oral hygiene and diet should be controlled as well as they play a factor in the success of retaining future restorations. In the worst-case scenario, the teeth may have to be extracted and implants or dentures are required. Loss of nerves in the affected teeth may occur. Epidemiology The exact incidence of amelogenesis imperfecta is uncertain. Estimates vary widely, from 1 in 700 people in northern Sweden to 1 in 14,000 people in the United States. The prevalence of amelogenesis imperfecta in non-human animals has not been explored, however its presence has been noted. This condition is neither caused by nor the equivalent of dental fluorosis. A manifestation of amelogenesis imperfecta known as "snow capping" is confined to the outer prismless enamel layer. It may superficially resemble dental fluorosis, and indeed "snow capping" may be used as a descriptive term in some incidents of dental fluorosis. References Further reading External links Developmental tooth disorders Genetic disorders by system
Bindiya may refer to: Bindi (decoration) Bindiya (film), a 1960 Indian Hindi-language drama film Bindiya (Pakistani actress) Bindiya (Bangladeshi actress) Bindiya (novel), a 1956 novel by Ramnath Pandey Bindiya, a character played by Swara Bhasker in the 2013 Indian film Raanjhanaa See also Bindi (disambiguation)
Erasmus Albertus Jansen van Vuuren (born 23 May 1985) is a South African rugby union player, whose usual position is prop or hooker. After representing the Pumas at the Under-18 Craven Week in 2003, he joined the Academy, playing for them at Under-20 and Under-21 level in 2004 and 2005. He had a short spell at French Rugby Pro D2 side Gaillac during their 2006–07 season before returning to the Golden Lions. In 2007 and 2008, he made first class appearances for the , and in South African rugby before returning to France, joining for the 2008–09 Rugby Pro D2 season. After making 70 appearances in three seasons for Aurillac, he joined Top 14 side prior to the 2011–12 Top 14 season. He spent two seasons in Montpellier before joining in the 2013–14 Rugby Pro D2 season. He helped them win promotion in his first season at the club and avoid relegation in the 2014–15 Top 14 season. He once again dropped into the Pro D2 for 2015–16, joining . After one season there, he returned to South Africa to join the Pumas for the 2016 Currie Cup. References External links 1985 births Living people South African rugby union players Montpellier Hérault Rugby players Blue Bulls players Golden Lions players Pumas (Currie Cup) players Rugby union hookers
Act Two is the second studio album by English boy band Collabro. It was released on 1 June 2015 and debuted at number two on the UK Albums Chart. It sold 22,031 copies in the UK in its first week on sale. It has sold 75,142 copies as of March 2017. Background Collabro have claimed in interviews that the track listing was created through fan requests. Critical reception Yahoo gave a highly positive review. Track listing All tracks produced by James Morgan and Juliette Pochin. Additional production on "All I Want" and "I Won't Give Up" by Ash Howes. Charts and certifications Charts Certifications References 2015 albums Collabro albums Covers albums Classical crossover albums Syco Music albums
Islands is a 2021 Canadian drama film, written, produced, and directed by Martin Edralin. The film stars Rogelio Balagtas as Joshua, a Filipino Canadian man in his late 40s who has sacrificed his own happiness to care for his aging parents Alma (Vangie Alcasid) and Reynaldo (Esteban Comilang); following his mother's death, his cousin Marisol (Sheila Lotuaco) comes to visit and offers to help care for Reynaldo, leading Joshua to confront what he really wants in life when he begins to experience misplaced feelings of falling in love with Marisol. Edralin has described the film as inspired in part by the archetype of the "maiden aunt" who stays with her parents and never marries or builds her own independent life, and by a desire to explore that story from the less familiar perspective of a man in the same situation. The film received production funding from Telefilm Canada's Talent to Watch funding program in 2018. Edralin had originally planned to set the film in the Philippines, but subsequently decided to tell it as a story about Filipino immigrants in Canada. The film premiered at the 2021 SXSW Film Festival, where Balagtas won the Special Jury Prize for Breakthrough Performance. Critical response Barry Hertz of The Globe and Mail praised the film, writing that "Alternately buoyant and heartbreaking, Edralin’s film moves with the kind of carefully calibrated speed that is deeply impressive for a first-timer. So much happens to Joshua over the course of Islands, yet also not that much. Every moment – a minor embarrassment, a brief sliver of hope – only feels momentous because Edralin has created such a relatable, alive underdog of a character. Joshua is a man who we all think we might know – perhaps someone from the periphery of our own lives – but one whose interior life we never gave much thought. Joshua’s richness as a character, though, may have delivered less of an impact if not for Balagtas. With just a short film to his name prior to joining Islands, the Winnipeg actor delivers an honest, stripped-down performance so real that it seems lifted from a documentary. Of course, the actor’s virtual anonymity helps, but there is a deliberate, professional control to Balagtas’ work here that bears the hallmark of a gifted actor." Awards References External links 2021 films 2021 drama films Canadian drama films Films directed by Martin Edralin Films about Asian Canadians Films about Filipino families 2020s Canadian films
General elections were held in Liechtenstein on 5 April 1926. The result was a victory for the ruling Christian-Social People's Party, which won 9 of the 15 seats in the Landtag. Results By electoral district References Liechtenstein General 1926 04 Liechtenstein 1926
John Edward Anderson (born May 15, 1927) is an American engineer and proponent of personal rapid transit. Career Anderson was born in China in the 1920s. His family returned to the United States in the 1930s. He obtained a BS from Iowa State University and a master's from the University of Minnesota - both in the field of mechanical engineering. He also earned a Ph.D. in Astronautics from the Massachusetts Institute of Technology. In 1971, he became a full professor at University of Minnesota and has been a professor of Aerospace and Mechanical Engineering at Boston University. Anderson is also a member of the Advanced Transit Association board of Directors since its founding in 1976. Anderson was elected in 2001 as Fellow of the American Association for the Advancement of Science. Personal Rapid Transport He first worked on methods of structural analysis of supersonic-aircraft wings at the Structures Research Division of NACA (now NASA), and later designed aircraft instruments, including the first transistorized amplifier used in a military aircraft for the Aeronautical Division of Honeywell. In 1963 he joined the Mechanical Engineering Department at the University of Minnesota, and directed its Industrial Engineering Division. He chaired a symposium on the role of science and technology in society, coordinated a 15-professor task force on New Concepts in Urban Transportation, and chaired three international conferences on personal rapid transit (PRT), following which he was elected first president of ATRA. Anderson consulted on PRT planning for many organizations, and for several years he was Distinguished Lecturer for the American Institute of Aeronautics and Astronautics. At one point, he discussed PRT with President Richard Nixon's staff. Anderson reportedly said of Nixon, "[Nixon] didn’t know anything about it, but we spent quite a bit of time talking to his staff." Anderson was chosen as lead consultant to plan an automated transit system for Indianapolis, and selected the German-built Cabinentaxi—a three-person vehicle that travels below its elevated rail in one direction and on top of it in the other. Anderson was later hired by the German builder of Cabinentaxi to act as U.S. representative, until the company abandoned work on the idea. In 1983 Anderson co-founded Automated Transportation Systems, Inc., with two officials of the University of Minnesota. The company was renamed Taxi 2000 Corporation in 1986. While teaching in the late 1980s at the Department of Aerospace and Mechanical Engineering at Boston University, Anderson organized a team of engineers from major Boston-area firms to participate in developing the PRT system. In 1989, the Northeastern Illinois RTA initiated a program to fully develop PRT, leading to a $40M joint development program with Raytheon Company and the RTA. Massachusetts-based Raytheon purchased the rights to the Taxi 2000 technology in 1993 and developed its own version of the system concept, which it named "PRT 2000". Raytheon developed a PRT 2000 test track and produced three vehicles which were up and running in 1995 in Marlborough, Massachusetts in a joint project with the Northeastern Illinois RTA. However, Raytheon terminated the PRT 2000 project and Phase III was never started. Anderson became part of the effort by a committee of the business-civic group Forward Quest to install a Taxi 2000-based PRT system, the Sky Loop, into the Cincinnati area. The Sky Loop plan was submitted to the Ohio-Kentucky-Indiana Regional Council of Governments (OKI), but the proposal was ultimately rejected by OKI's Central Area Loop Study Committee. In 2002, Anderson began selling shares in the privately held Taxi 2000, and on April 10, 2003, he unveiled the Taxi 2000 (Skyweb Express) prototype to the public and the media. Anderson also sought public funding for PRT research and development but bills to subsidize a testing facility for Taxi 2000 were never approved. On March 8, 2004, Anderson appeared at a meeting of the Midtown Greenway Coalition board to support a proposal for that project, but in June 2004 the Midtown Greenway board endorsed a streetcar over his proposal. J. Edward Anderson left Taxi 2000 Corporation in 2005 to start a personal rapid transit consulting firm called *PRT International. He was sued by the Taxi 2000 Corporation in April of that year, alleging he had retained proprietary information from Taxi 2000, along with a company computer. The suit was settled in December 2005. Arms Control Anderson was active in opposing deployment of the MX missile in new protective silos. Support for MX was based on claims by defense officials that a "window of vulnerability" existed in the Minuteman missile system—that the Soviet Union could achieve first-strike capability. Alarmed at Defense Secretary Caspar Weinberger's announcement that the U.S. intended to seek such capability for itself, Anderson believed that data showing danger of Soviet first-strike capability was greatly exaggerated. He authored seven papers between 1979 and 1983 opposing MX, in which he maintained there was no "window of vulnerability," due to known margins of error in the reliability, accuracy and testing of missile systems. He also founded a program called International Peace Issues Forum, for students to discuss arms control and disarmament issues. As recently as 2004 the group Minnesota Alliance of Peacemakers listed Anderson as a member of Citizens for Global Solutions who is available to do public speaking on the subject of arms control. patents (selected chronological list) TANK UNIT, - Filed April 30, 1954. Fuel level sensing system. AUTOMATIC PILOT SERVOSYSTEM, - Filed February 24, 1958. PENDULOUS GYROSCOPIC ACCELEROMETERS, - Filed September 6, 1962. Gimballess inertial reference system. SWITCH MECHANISM, - Filed January 10, 1983. Vehicle-borne switch for PRT. References External links Taxi 2000 Corporation PRT International Advanced Transit Association University of Minnesota article contemporaneous with Raytheon program Anderson letter to the City Pages (Minneapolis, 1998) OKI Central Area Loop Study (CALS, 2001) Forward Quest CALS page (2001) Article on Taxi 2000 prototype (Minneapolis Star Tribune, 11/3/2002) Article on 2004 PRT proposal for Midtown Greenway (Minneapolis) Responses to PRT proposal in Minnesota Legislature (2004) Taxi 2000-Anderson lawsuit (2005) 1927 births Living people University of Minnesota College of Science and Engineering alumni American mechanical engineers American expatriates in China Iowa State University alumni
Bi-amping and tri-amping is the practice of using two or three audio amplifiers respectively to amplify different audio frequency ranges, with the amplified signals being routed to different speaker drivers, such as woofers, subwoofers and tweeters. With bi-amping and tri-amping, an audio crossover is used to divide a sound signal into different frequency ranges, each of which is then separately amplified and routed to separate speaker drivers. In Powered speakers using bi-amping, multiple speaker drivers are in the same speaker enclosure. In some bi-amp set-ups, the drivers are in separate speaker enclosures, such as with home stereos that contain two speakers and a separate subwoofer. Description Bi-amping is the use of two channels of amplification to power each loudspeaker within an audio system. Tri-amping is the practice of connecting three channels of amplification to a loudspeaker unit: one to power the bass driver (woofer), one to power the mid-range and the third to power the treble driver (tweeter). The terms derive from the prefix bi- meaning 'two', tri- meaning 'three', and amp the abbreviation for amplifier. Crossover It differs from the conventional arrangement in which each channel of amplification powers a single speaker. Bi-amping typically consists of a crossover network and two or more drivers. With ordinary loudspeakers, a single amplifier can power the woofer, mid-range and tweeter through an audio crossover, which filters the signal into high- medium- and low-frequencies (or high- and low-frequencies in 2-way speakers) – a mechanism that protects each driver from signals outside its frequency range. However, the passive crossover itself is inefficient, so splitting the frequencies electronically before these are amplified is a way to avoid this problem. In such a case, an amplifier each powers a frequency range determined by an active crossover to each of the drive units. The technique is primarily used in large-scale audio applications such as sound amplification for concerts, in portable powered speakers and by hi-fi enthusiasts. Wiring A speaker system has to be wired to accommodate either configuration, typically with two sets of binding posts, one set for the bass and one set for the mid-highs. A single amplifier can usually power a woofer and a tweeter only through a post-amplifier crossover filter, which protects each driver from signals outside its frequency range. Bi-amping of speakers requires double the channels of amplification and can be accomplished using two ordinary amplifiers in either a vertical or horizontal arrangement. Horizontal bi-amping uses one amplifier to power both bass drivers (woofers) and the second amplifier to power both treble drivers (tweeter) or the midrange and treble drivers together. Horizontal bi-amping has the advantage of allowing two different amplifiers that sound better than each other for bass or for treble. Vertical bi-amping uses two channels of an amplifier per loudspeaker, with a dedicated channel for the bass driver and a dedicated channel for the treble or the treble and the midrange post-amplifier together. Vertical bi-amping has the advantage of not having to use a single amp to power both bass sections, which can be very taxing on the amplifier, especially at higher volume or if the bass driver has a particularly low impedance at certain frequencies. Benefits Most audible differences are subtle. If at all noticeable, many benefits of bi-amping cannot be realized if passive crossover networks of a speaker system are not removed. Benefits include transients are less likely to cause amplifier overload (clipping) and/or speaker damage, and reduced intermodulation distortion, elimination of errors introduced by low frequency passive crossover, reduction of load presented to the power amplifier, better matching of power amplifier and speaker driver and others. In large professional sound systems, Bi-amping is pretty much the norm with the greater benefits easily outweighing the costs. All speakers are two-way transducers and can introduce current back into the driving circuit from ambient sound. The driving amplifier tries to control the effect of this with its damping factor (having a high resistance to such current), but with a passive crossover, this current can still leak across to the other driver units in the circuit. A Bi-amped system is therefore able to better resist ambient sound feeding back into the circuit. With high volumes and larger venues, such ambient feedback can have a significant damaging effect to the overall sound. See also Bi-wiring Powered speakers References Audio amplifiers
Survivor: The Australian Outback (also referred to as Survivor: Australia) is the second season of the American reality television series Survivor. Broadcast by CBS, it was originally shown between January 28 and May 23, 2001. Filming took place at Goshen cattle station, on the bank of the Herbert River in northern Queensland from October 23 through December 3, 2000. The show was hosted by Jeff Probst and featured 16 participants competing over 42 days. It was the first season to have more than 39 days of gameplay. Tina Wesson was named the Sole Survivor, defeating Colby Donaldson by a jury vote of 4–3 and winning a prize of US$1,000,000. Wesson became the first female winner of the series. The series was generally well received, with many outlets considering it one of the best Survivor series. The opening episode premiered after Super Bowl XXXV to 43.5 million viewers. Overview Survivor is a reality television show created by Mark Burnett and Charlie Parsons and based on the Swedish show Expedition Robinson. The series follows a number of participants who are isolated in a remote location, where they must provide food, fire, and shelter for themselves. Every three days, one participant is removed from the series by majority vote, with challenges being held to give a reward (ranging from living and food-related prizes to a car) and immunity from being voted off the show. The last remaining player is awarded a prize of $1,000,000. Filming of Survivor: The Australian Outback took place from October 23 through December 3, 2000, at Goshen Station, a cattle station on the bank of the Herbert River (approximately 3 hours southwest of Cairns) in northern Queensland. The season premiered after Super Bowl XXXV on January 28, 2001, to 43.5 million viewers. Contestants The cast consisted of 16 contestants, who were initially separated into two tribes: Ogakor, named after the word for "crocodile" in the Kunjen language, and Kucha, named after the word for "kangaroo" in the Pakanha language. Midway through the season, the remaining ten players merged into a single "Barramundi" tribe, named after the river fish. The final seven eliminated contestants comprised the jury that decided who would be the winner. Future appearances Tina Wesson, Colby Donaldson, Jerri Manthey, Alicia Calaway, and Amber Brkich returned to compete in Survivor: All-Stars. Donaldson and Manthey would again return for Survivor: Heroes vs. Villains. Michael Skupin returned in Survivor: Philippines, while Wesson would also appear on Survivor: Blood vs. Water along with her daughter, Katie Collins (who appeared in The Australian Outback as a loved one via video chat). Jeff Varner and Kimmi Kappenberg returned for Survivor: Cambodia, and Varner made his third Survivor appearance in Survivor: Game Changers. Brkich, under her married name Mariano, competed again in Survivor: Winners at War. Season summary The sixteen contestants were divided into two tribes, Kucha and Ogakor, named after Aboriginal words for Kangaroo and Crocodile, respectively. Although Ogakor fared significantly worse in challenges, the tribes remained even after Kucha member Michael Skupin suffered third-degree burns from a campfire and had to be medically evacuated. The tribes entered the merge with 5 members apiece, naming the merged tribe Barramundi after a fish native to Australia. The first vote after the merge saw a tie, but Kucha member Jeff Varner was eliminated due to previous votes being cast against him. Ogakor's majority alliance of Colby Donaldson, Keith Famie, and Tina Wesson alternated between eliminating former Kucha members and betraying former tribe-mates Jerri Manthey and Amber Brkich. The three stayed together until the end of the game, and Donaldson took Wesson with him into the final Tribal Council. Tina's strategic plan was valued over Colby's prowess in challenges, and she was awarded the title of Sole Survivor by a jury vote of 4–3. {| class="wikitable nowrap" style="margin:auto; text-align:center" |- !colspan="3"|Episode !colspan="2"| Challenge winner(s) ! colspan="2" |Eliminated |- ! No. ! Title ! Original air date ! Reward ! Immunity !Tribe !Player |- !1 |align="left"|"Stranded" |align="left"|January 28, 2001 |colspan=2 | |Debb |- !2 |align="left"|"Suspicion" |align="left"|February 1, 2001 | | | |Kel |- !3 |align="left"|"Trust No One" |align="left"|February 8, 2001 | | | |Maralyn |- !4 |align="left"|"The Killing Fields" |align="left"|February 15, 2001 | | | |Mitchell |- !5 |align="left"|"The Gloves Come Off" |align="left"|February 22, 2001 | | | |Kimmi |- !6 |align="left"|"Trial By Fire" |align="left"|March 1, 2001 | | | |Michael |- !7 |align="left"|"The Merge" |align="left"|March 8, 2001 |{{stribe|None|None}} |Keith | rowspan="2" |Jeff |- !8 |align="left"|"Friends?" |align="left"|March 14, 2001 |Jerri[Amber] |Keith |Alicia |- !9 |align="left"|"The First 24 Days" |align="left"|March 21, 2001 | colspan="4" | Recap Episode|- !10 |align="left"|"Honeymoon or Not?" |align="left"|March 29, 2001 |Colby,Jerri |Nick | rowspan="6" |Jerri |- !11 |align="left"|"Let's Make a Deal" |align="left"|April 5, 2001 | |Colby |Nick |- !12 |align="left"|"No Longer Just a Game" |align="left"|April 12, 2001 |Colby |Colby |Amber |- !13 |align="left"|"Enough Is Enough" |align="left"|April 19, 2001 |Tina |Colby |Rodger |- !14 |align="left"|"The Final Four" |align="left"|April 26, 2001 |Colby |Colby |Elisabeth |- !15 |align="left"|"The Most Deserving" | rowspan="2" style="text-align:left;" |May 3, 2001 | |Colby |Keith |- ! 16 | style="text-align:left;" |"The Reunion" | colspan="4" style="background:darkgrey;" | |}In the case of multiple tribes or castaways who win reward or immunity, they are listed in order of finish, or alphabetically where it was a team effort; where one castaway won and invited others, the invitees are in brackets.Episodes Voting history Notes Reception The series was well received by critics. In 2013, both Andrea Reiher of Zap2it and Joe Reid of The Wire ranked The Australian Outback as the third greatest season of the series. Ken Tucker, writing for Entertainment Weekly, gave the series a B+ grade, praising the evolution of the strategy used, but was less receptive to the editing used on the series. Since 2012, the Survivor site "Survivor Oz" has consistently ranked The Australian Outback highly in its annual polls ranking every season of the series; it was third in 2012, fourth in 2013 and 2015, and sixth in 2014. In the official issue of CBS Watch commemorating the 15th anniversary of Survivor in 2015, The Australian Outback was voted by viewers as the fourth greatest season in the series. In another poll for the same magazine, Skupin's injury in the fire was voted as the ninth most memorable moment in the series. In 2015, a poll by Rob Has a Podcast ranked Australia 10th out of 30, although host Rob Cesternino ranked the season 22nd. This was updated in 2021 during Cesternino's podcast, Survivor All-Time Top 40 Rankings, ranking 20th out of 40. In 2020, this season was also ranked 17th out of 40 by "The Purple Rock Podcast", citing the good cast. Later in the year, Inside Survivor ranked this season 15th out of 40, praising the cast and iconic moments but acknowledging that the season declined after the merge of the two teams. Conversely, Dalton Ross of Entertainment Weekly called this season overrated, ranking it 24th out of 40. Host Jeff Probst ranked it as the 8th-best season, citing such memorable contestants as "Colby, the prototype for a Survivor 'hero'; Jerri, the original 'black widow'; and Elisabeth 'The View' Filarski," as well as Michael Skupin's injury. In 2021, Kristen Kranz of Collider also ranked The Australian Outback as the 8th best season of the series and praised it for having "no shortage of great players" as well as its introduction to, "some truly interesting characters to the Survivor'' world." Controversy During a reward trip, contestant Colby Donaldson broke an Australian law by breaking off coral from the Great Barrier Reef which could have resulted in a fine of 110,000. The helicopter pilot involved in the reward trip also broke an Australian law as he flew over sea bird rookeries. Producer Mark Burnett apologized on behalf of Donaldson and the production team after the season had aired. References External links Nielsen ratings winners 02 Super Bowl lead-out shows 2001 American television seasons 2000 in Australian television Television shows set in Queensland 2001 in Australian television Television shows set in the Outback Television shows filmed in Australia Television controversies in the United States
Jordi Alejandro Vilasuso (; born June 15, 1981, in Miami, Florida) is an American actor best known for originating the role of Tony Santos on the CBS soap opera Guiding Light from August 2000 until August 2003. He has also portrayed the roles of Griffin Castillo on All My Children from 2010 to 2011 and 2013, Dario Hernandez on Days of Our Lives from 2016 to 2017 and Rey Rosales on The Young and the Restless from 2018 to 2022. Early life Vilasuso was raised by his parents, Dr. Frank Vilasuso and Ana Vilasuso, in Coral Gables, Florida. He also has an older brother, Javier, and a younger sister, Marianne. Vilasuso attended Ransom Everglades High School and later Glendale Community College in California. Career Vilasuso began playing Tony Santos on Guiding Light in August 2000. In 2003, he won the Daytime Emmy Award for Outstanding Younger Actor in a Drama Series for his portrayal. Vilasuso was also nominated in the same category in 2002. Vilasuso has appeared in the movies The Last Home Run, The Lost City, Heights and La Linea. He also appeared in other television programs such as 8 Simple Rules, Buffy the Vampire Slayer, Numb3rs and CSI: Miami. In November 2010 he was signed on to play the contract role of Griffin Castillo on the soap opera All My Children. Vilasuso joined the cast of Days of Our Lives as Dario Hernandez in 2015. In July 2017, Vilasuso announced his departure from Days of Our Lives. In July 2018, it was announced that Vilasuso would appear as Rey Rosales on the daytime soap opera The Young and The Restless. In March 2022, Vilasuso announced his departure from The Young and the Restless. Personal life In 2010, Vilasuso began dating actress Kaitlin Riley. Vilasuso and Riley were married on August 25, 2012, in Islamorada, Florida. They have two daughters: Riley Grace, born on November 26, 2012, and Everly Maeve born on July 15, 2016. On April 9, 2020, he revealed that his family had mild cases of COVID-19 and have fully recovered. Filmography References External links 1981 births American male soap opera actors Living people American people of Cuban descent American people of Catalan descent Cuban people of Catalan descent Male actors from Miami Actors from Coral Gables, Florida Daytime Emmy Award winners Daytime Emmy Award for Outstanding Younger Actor in a Drama Series winners
Northern Sumatra may refer to: The northern portion of the island of Sumatra Aceh, the northernmost province of Sumatra North Sumatra, the province south of Aceh
Aral is a village in Jalal-Abad Region of Kyrgyzstan. It is part of Nooken District. Its population was 1,896 in 2021. References Populated places in Jalal-Abad Region
Shakila Mohseni Sedaghat (), known mononymously as Shakila (; born May 3, 1962), is an Iranian singer-songwriter based in San Diego, California. She is an international artist who has performed in various languages including Persian, Kurdish, English, Turkish, Hindi and Spanish. She has won a Persian Music Academy Award in 2006 and a Global Music Award in 2015. Shakila has released over twenty albums in Persian language as well as many albums in English. She primarily sings about spirituality, love, peace, and awakening. Lyrics of her songs are inspired by Rumi and other major poets. She is also an official voting member at the Grammy Awards. Career Shakila started her professional career at the age of nine when she was invited to perform on an Iranian television show. Later, she moved to San Diego where she studied music at Palomar College. Shakila released her debut album titled Kami Ba Man Modaaraa Kon in 1990. Her second album, Geryeh Dar Ragbar, was released in 1992. In 1993, Shakila signed with Persian record label, Taraneh Records and released her third album Gheybate Noor. From 1997 to 2008, Shakila was signed with Los Angeles based record label Caltex Records and she released more than eight albums with them. In 2013, Shakila founded her own record label Shakila Enterprises. She has released over ten singles on her record label. In 2014, Shakila released her single Treasure Within which reached the peak position of No. 1 at various Billboard Charts. Her album 11:11 City of Love was released in 2015. 11:11 City of Love spent more than 43 weeks at No. 1 positions at multiple charts at Billboard. In 2016, Shakila released her album Splashing Tears which also stayed at the peak position of No. 1 at the Billboard charts for several weeks. Shakila has won Persian Music Academy Award in 2006 and Global Music Award in 2015. She has been nominated twice at the Hollywood Music in Media Awards. Awards Persian Music Academy Award- (2006) Global Music Awards- (2015) Hollywood Music in Media Awards- Nominated Twice One World Music Awards- Nominated (2015) Discography See also Persian traditional music List of famous Persian women References External links Shakila on Spotify Living people Iranian classical singers 21st-century Iranian women singers Iranian women pop singers Iranian folk singers 20th-century Iranian women singers 1962 births
James Beaton "Peggy" O'Neil (April 3, 1913 – October 17, 1997) was a Canadian ice hockey player. He played 165 National Hockey League games between 1933 and 1942, including nine in the playoffs. Early life O'Neil was born in Semans, Saskatchewan. Career He played for the Boston Bruins and the Montreal Canadiens. The rest of his career, which lasted from 1931 to 1946, was mainly spent in the American Hockey League. O'Neil scored six NHL goals, all for Boston. The first one occurred at Boston Garden on January 9, 1934. It was the only Boston goal in the team's 2-1 home loss to the New York Americans. He played 447 regular season AHL games and another 43 in the post-season. His best offensive season in the AHL was 1942–1943, when he scored 19 goals and had 50 assists for 69 points in 55 games for 1.25 points per game. The next season, he scored 20 goals for the only time in his career. After he retired from playing in 1946, he coached the Fenn College Foxes hockey team. Personal life O'Neil and his wife, Betty, had three children. They settled in the Highlands neighborhood in Edmonton, Alberta, Canada. Career statistics Regular season and playoffs External links 1913 births 1997 deaths Boston Bruins players Boston Cubs players Canadian ice hockey right wingers Cleveland Barons (1937–1973) players Cleveland State Vikings men's ice hockey coaches Hershey Bears players Ice hockey people from Saskatchewan Montreal Canadiens players New Haven Eagles players Providence Reds players Washington Lions players Canadian expatriate ice hockey players in the United States
Gordon Kennedy may refer to: Gordon Kennedy (musician) (born 1959), rock musician from the United States Gordon Kennedy (actor) (born 1958), Scottish actor
Raja ( - Raja Atha) (also known as Maligawa Raja, 1913 - 16 July 1988) was a Sri Lankan tusker elephant belonging to the Sri Dalada Maligawa, Kandy. Raja participated at the annual Esala procession in Kandy for around 50 years and was the sacred casket bearer of the final Randoli perehera for 37 years. He was one of the most celebrated elephants in Asia during his lifetime, and was world famous for his noble behavior. On 20 August 1986 former Sri Lankan President J. R. Jayewardene declared Raja as a national treasure, in recognition of his valuable services to the religion and culture of Sri Lanka. Early years It is believed that Raja was born in the jungles of Eravur in Batticaloa District circa 1913. He was captured by a group of men headed by Umaru Lebbe Panikkar in November 1925. Panikkar is a name given to the men who mastered capturing elephants in the eastern parts of the country. The young elephant Raja had been purchased by Tikiribanda Mampitiya Disawe of Giragama Walauwa in Kandy for 3300 rupees, a huge sum at that time, along with another young elephant named Skanda. With a permit issued by the British government, both the elephants were brought by train to the Kadugannawa railway station and then to the Giragama Walauwa on 11 December 1925. Arambegama Kirihamy was appointed as the mahout of the young elephants. He attached the young elephants to the female elephant he was looking after, who became the foster mother of young elephants. When the two elephants were around 24 years old, they were ceremonially gifted to the Sri Dalada Maligawa. A deed of transfer was drawn up and gifted to the Diyawadana Nilame by Mampitiya Dissawa on 22 August 1937. The Diyawadana Nilame of the Temple of the Tooth, at that time was T. B.Ratwatte. Authorities of Sri Dalada Maligawa were happy about this new elephant who not only had all the physical requirements, but also showed much promise. Thereafter both Raja and Skanda were trained for the responsibilities of the temple elephants and were given the experience of participating in the procession, in the same year. Noble tusker Raja possessed the rare Maha Gaja Lakshana physical characteristics that put him in the aristocratic caste of Sri Lankan elephants, Chaddhantha. After observing the great physical characteristics of the elephant and his obedient behavior, Raja was given the responsibility of carrying the sacred casket at the Esala Perahehra in 1950. Raja by then, had been fully trained and satisfied the authorities about its capabilities. He fulfilled his duties satisfactorily during the initial years, which cemented his place as the chief elephant of the procession for years to come. Raja never had any problems with his mahouts and was very obedient to them. He always respected Buddhist priests and also liked to be in the premises of the Sri Dalada Maligawa. Most of the times Raja carried the sacred casket at the annual perahera in Kandy flanked by Skanda and another tusker elephant. Sometimes Skanda too carried the casket, but Raja was the casket bearer of the important final Randoli perehera. Even after the demise of Skanda, the fellow tusker elephant in 1986, Raja continued his responsibilities as the chief tusker of the Esala procession in 1987. After serving Buddhist processions for about 50 years, Raja died in July 1988 due to an illness and his death prompted the government to order a day of national mourning in Sri Lanka. A postage stamp was issued in its memory on 12 December 1989, and also the 1,000 Rupee bill, with Raja and the Muslim trainer Umar Lebbe Panicker from Eravur in Batticola. Raja's Museum Raja's stuffed remains are presently kept in a special museum within the grounds of the Temple of the Tooth. The museum is a special attraction to the hundreds of people who visit the temple of the Tooth Relic daily. See also Heiyantuduwa Raja Millangoda Raja Nadungamuwa Raja List of individual elephants References 1913 animal births 1988 animal deaths Individual elephants Individual animals in Sri Lanka Elephants in Sri Lanka
```python import json import os import pytest from localstack.services.iam.provider import SERVICE_LINKED_ROLE_PATH_PREFIX from localstack.testing.pytest import markers from localstack.utils.common import short_uid @markers.aws.validated def test_delete_role_detaches_role_policy(deploy_cfn_template, aws_client): role_name = f"LsRole{short_uid()}" stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_role_policy.yaml" ), parameters={"RoleName": role_name}, ) attached_policies = aws_client.iam.list_attached_role_policies(RoleName=role_name)[ "AttachedPolicies" ] assert len(attached_policies) > 0 deploy_cfn_template( is_update=True, stack_name=stack.stack_name, template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_role_policy.yaml" ), parameters={"RoleName": f"role-{short_uid()}"}, ) with pytest.raises(Exception) as e: aws_client.iam.list_attached_role_policies(RoleName=role_name) assert e.value.response.get("Error").get("Code") == "NoSuchEntity" @markers.aws.validated def test_policy_attachments(deploy_cfn_template, aws_client): role_name = f"role-{short_uid()}" group_name = f"group-{short_uid()}" user_name = f"user-{short_uid()}" policy_name = f"policy-{short_uid()}" linked_role_id = short_uid() deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_policy_attachments.yaml" ), template_mapping={ "role_name": role_name, "policy_name": policy_name, "user_name": user_name, "group_name": group_name, "service_linked_role_id": linked_role_id, }, ) # check inline policies role_inline_policies = aws_client.iam.list_role_policies(RoleName=role_name) user_inline_policies = aws_client.iam.list_user_policies(UserName=user_name) group_inline_policies = aws_client.iam.list_group_policies(GroupName=group_name) assert len(role_inline_policies["PolicyNames"]) == 2 assert len(user_inline_policies["PolicyNames"]) == 1 assert len(group_inline_policies["PolicyNames"]) == 1 # check managed/attached policies role_attached_policies = aws_client.iam.list_attached_role_policies(RoleName=role_name) user_attached_policies = aws_client.iam.list_attached_user_policies(UserName=user_name) group_attached_policies = aws_client.iam.list_attached_group_policies(GroupName=group_name) assert len(role_attached_policies["AttachedPolicies"]) == 1 assert len(user_attached_policies["AttachedPolicies"]) == 1 assert len(group_attached_policies["AttachedPolicies"]) == 1 # check service linked roles roles = aws_client.iam.list_roles(PathPrefix=SERVICE_LINKED_ROLE_PATH_PREFIX)["Roles"] matching = [r for r in roles if r.get("Description") == f"service linked role {linked_role_id}"] assert matching policy = matching[0]["AssumeRolePolicyDocument"] policy = json.loads(policy) if isinstance(policy, str) else policy assert policy["Statement"][0]["Principal"] == {"Service": "elasticbeanstalk.amazonaws.com"} @markers.aws.validated @markers.snapshot.skip_snapshot_verify(paths=["$..User.Tags"]) def test_iam_username_defaultname(deploy_cfn_template, snapshot, aws_client): snapshot.add_transformer(snapshot.transform.iam_api()) snapshot.add_transformer(snapshot.transform.cloudformation_api()) template = json.dumps( { "Resources": { "DefaultNameUser": { "Type": "AWS::IAM::User", } }, "Outputs": {"DefaultNameUserOutput": {"Value": {"Ref": "DefaultNameUser"}}}, } ) stack = deploy_cfn_template(template=template) user_name = stack.outputs["DefaultNameUserOutput"] assert user_name get_iam_user = aws_client.iam.get_user(UserName=user_name) snapshot.match("get_iam_user", get_iam_user) @markers.aws.validated def test_iam_user_access_key(deploy_cfn_template, snapshot, aws_client): snapshot.add_transformers_list( [ snapshot.transform.key_value("AccessKeyId", "key-id"), snapshot.transform.key_value("UserName", "user-name"), snapshot.transform.key_value("SecretAccessKey", "secret-access-key"), ] ) user_name = f"user-{short_uid()}" stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_access_key.yaml" ), parameters={"UserName": user_name}, ) snapshot.match("key_outputs", stack.outputs) key = aws_client.iam.list_access_keys(UserName=user_name)["AccessKeyMetadata"][0] snapshot.match("access_key", key) # Update Status stack2 = deploy_cfn_template( stack_name=stack.stack_name, is_update=True, template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_access_key.yaml" ), parameters={"UserName": user_name, "Status": "Inactive", "Serial": "2"}, ) keys = aws_client.iam.list_access_keys(UserName=user_name)["AccessKeyMetadata"] updated_key = [k for k in keys if k["AccessKeyId"] == stack2.outputs["AccessKeyId"]][0] # IAM just being IAM. First key takes a bit to delete and in the meantime might still be visible here snapshot.match("access_key_updated", updated_key) assert stack2.outputs["AccessKeyId"] != stack.outputs["AccessKeyId"] assert stack2.outputs["SecretAccessKey"] != stack.outputs["SecretAccessKey"] @markers.aws.validated def test_update_inline_policy(deploy_cfn_template, snapshot, aws_client): snapshot.add_transformer(snapshot.transform.iam_api()) snapshot.add_transformer(snapshot.transform.key_value("PolicyName", "policy-name")) snapshot.add_transformer(snapshot.transform.key_value("RoleName", "role-name")) snapshot.add_transformer(snapshot.transform.key_value("UserName", "user-name")) policy_name = f"policy-{short_uid()}" user_name = f"user-{short_uid()}" role_name = f"role-{short_uid()}" stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_policy_role.yaml" ), parameters={ "PolicyName": policy_name, "UserName": user_name, "RoleName": role_name, }, ) user_inline_policy_response = aws_client.iam.get_user_policy( UserName=user_name, PolicyName=policy_name ) role_inline_policy_resource = aws_client.iam.get_role_policy( RoleName=role_name, PolicyName=policy_name ) snapshot.match("user_inline_policy", user_inline_policy_response) snapshot.match("role_inline_policy", role_inline_policy_resource) deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_policy_role_updated.yaml" ), parameters={ "PolicyName": policy_name, "UserName": user_name, "RoleName": role_name, }, stack_name=stack.stack_name, is_update=True, ) user_updated_inline_policy_response = aws_client.iam.get_user_policy( UserName=user_name, PolicyName=policy_name ) role_updated_inline_policy_resource = aws_client.iam.get_role_policy( RoleName=role_name, PolicyName=policy_name ) snapshot.match("user_updated_inline_policy", user_updated_inline_policy_response) snapshot.match("role_updated_inline_policy", role_updated_inline_policy_resource) @markers.aws.validated @markers.snapshot.skip_snapshot_verify( paths=[ "$..Policy.Description", "$..Policy.IsAttachable", "$..Policy.PermissionsBoundaryUsageCount", "$..Policy.Tags", ] ) def test_managed_policy_with_empty_resource(deploy_cfn_template, snapshot, aws_client): snapshot.add_transformer( snapshot.transform.iam_api(), ) snapshot.add_transformers_list( [snapshot.transform.resource_name(), snapshot.transform.key_value("PolicyId", "policy-id")] ) parameters = { "tableName": f"table-{short_uid()}", "policyName": f"managed-policy-{short_uid()}", } template_path = os.path.join( os.path.dirname(__file__), "../../../../templates/dynamodb_iam.yaml" ) stack = deploy_cfn_template(template_path=template_path, parameters=parameters) snapshot.match("outputs", stack.outputs) policy_arn = stack.outputs["PolicyArn"] policy = aws_client.iam.get_policy(PolicyArn=policy_arn) snapshot.match("managed_policy", policy) @markers.aws.validated @markers.snapshot.skip_snapshot_verify( paths=[ "$..ServerCertificate.Tags", ] ) def test_server_certificate(deploy_cfn_template, snapshot, aws_client): stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_server_certificate.yaml" ), parameters={"certificateName": f"server-certificate-{short_uid()}"}, ) snapshot.match("outputs", stack.outputs) certificate = aws_client.iam.get_server_certificate( ServerCertificateName=stack.outputs["ServerCertificateName"] ) snapshot.match("certificate", certificate) stack.destroy() with pytest.raises(Exception) as e: aws_client.iam.get_server_certificate( ServerCertificateName=stack.outputs["ServerCertificateName"] ) snapshot.match("get_server_certificate_error", e.value.response) snapshot.add_transformer( snapshot.transform.key_value("ServerCertificateName", "server-certificate-name") ) snapshot.add_transformer( snapshot.transform.key_value("ServerCertificateId", "server-certificate-id") ) @markers.aws.validated def test_cfn_handle_iam_role_resource_no_role_name(deploy_cfn_template, aws_client): stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/iam_role_defaults.yml" ) ) role_path_prefix = "/test-role-prefix/" rs = aws_client.iam.list_roles(PathPrefix=role_path_prefix) assert len(rs["Roles"]) == 1 stack.destroy() rs = aws_client.iam.list_roles(PathPrefix=role_path_prefix) assert not rs["Roles"] @markers.aws.validated def test_updating_stack_with_iam_role(deploy_cfn_template, aws_client): lambda_role_name = f"lambda-role-{short_uid()}" lambda_function_name = f"lambda-function-{short_uid()}" # Create stack and wait for 'CREATE_COMPLETE' status of the stack stack = deploy_cfn_template( template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/template7.json" ), parameters={ "LambdaRoleName": lambda_role_name, "LambdaFunctionName": lambda_function_name, }, ) function_description = aws_client.lambda_.get_function(FunctionName=lambda_function_name) assert stack.outputs["TestStackRoleName"] in function_description.get("Configuration").get( "Role" ) assert stack.outputs["TestStackRoleName"] == lambda_role_name # Generate new names for lambda and IAM Role lambda_role_name_new = f"lambda-role-new-{short_uid()}" lambda_function_name_new = f"lambda-function-new-{short_uid()}" # Update stack and wait for 'UPDATE_COMPLETE' status of the stack stack = deploy_cfn_template( is_update=True, template_path=os.path.join( os.path.dirname(__file__), "../../../../templates/template7.json" ), stack_name=stack.stack_name, parameters={ "LambdaRoleName": lambda_role_name_new, "LambdaFunctionName": lambda_function_name_new, }, ) function_description = aws_client.lambda_.get_function(FunctionName=lambda_function_name_new) assert stack.outputs["TestStackRoleName"] in function_description.get("Configuration").get( "Role" ) assert stack.outputs["TestStackRoleName"] == lambda_role_name_new ```
William Waltrude "Budge" Meldon (9 April 1879 – 23 May 1957) was an Irish cricketer. He was a right-handed batsman and a right-arm fast-medium bowler. He started his cricket career playing county cricket with Warwickshire, for whom he played five first-class matches between 1909 and 1910. He then played three first-class matches for Ireland against Scotland between 1911 and 1914, which are his only games for Ireland. He also played minor counties cricket for Northumberland and Devon. References CricketEurope Stats Zone profile 1879 births 1957 deaths Cricketers from Dublin (city) Warwickshire cricketers Northumberland cricketers Devon cricketers Irish cricketers
Roozbeh Azar () (born September 20, 1980, in Mashhad) is an Iranian solo guitarist in flamenco and fusion guitarist. Biography He learned Iranian traditional music under Reza Darman, Amir Moshir Falsafi, and Faramarz Shokrkhah from 1988 to 1993. He learned flamenco guitar under supervision of Mansour Rasa in 1994 and he knew the principles of harmony and music composing under Mohammad Haghgou. Honors Two performances in Embassy of Spain in Tehran; performance in Embassy of Brazil in Tehran; Guitar maestro in Nima Symphonic Orchestra; A member of jury for a music festival in Khorasan Province in 2002; A member of jury in the first youth music festival in Southern Khorasan Province in 2005; First album selected as top 5 in "beep tunes" website in 2014; A member of the jury in the Institutional performances in Mashhad Province in 2016. Albums Alma ponte color de Naranja (Jan be Rang-e-Narenj)-Persian Fusion Music Her eyes of green and voice of violet References External links Roozbeh Azar on SoundCloud 1980 births Living people 21st-century guitarists 21st-century Iranian male singers Iranian singer-songwriters Iranian male singer-songwriters Iranian composers Iranian guitarists Iranian pop singers Iranian pop musicians
James Dickey (March 22, 1934 – February 17, 2018) was an American college football player and coach. He served as the head football coach at Kansas State University from 1978 to 1985, compiling record of 24–54–2. In 1981, he redshirted 18 players, including eight seniors and almost all of his best players. With all of those players returning the following season in 1982, Dickey led Kansas State to their first bowl game appearance in school history, the Independence Bowl, where they lost to the Wisconsin Badgers. 1982 was also the first winning season for the program since 1970 under head coach Vince Gibson. After opening the 1985 season with two consecutive losses to I-AA teams, Dickey was forced to resign on September 15. Assistant athletic director Lee Moon coached the team for the remainder of the season posting a 1–8 record. Dickey was the father of the former Kansas State quarterback and former head football coach at the University of North Texas, Darrell Dickey. He died on February 17, 2018, at the age of 83. Head coaching record References 1934 births 2018 deaths American football quarterbacks Florida Gators football coaches Houston Cougars football coaches Houston Cougars football players Kansas Jayhawks football coaches Kansas State Wildcats football coaches North Carolina Tar Heels football coaches Oklahoma Sooners football coaches Oklahoma State Cowboys football coaches
This is a list of notable contemporary Christian music artists from the 1970s. The Encyclopedia of Contemporary Christian Music (2002) defines CCM as "music that appeals to self-identified fans of contemporary Christian music on account of a perceived connection to what they regard as Christianity". Based on this definition, this list includes artists that work in the Christian music industry as well as artists in the general market. 0-9 2nd Chapter of Acts A After the Fire (ATF) Dennis Agajanian All Saved Freak Band The Alpha Band The Archers B a band called David Brown Bannister Bash-n-the-Code Bob Bennett Debby Boone Pat Boone Scott Wesley Brown Anita Bryant T Bone Burnett Wendell Burton C Steve Camp Glen Campbell Ralph Carmichael Johnny Cash Chalice Children of the Day Chris Christian Paul Clark Terry Clark Cynthia Clawson Bruce Cockburn Denny Correll Andrae Crouch (and the Disciples) Andrew Culverwell D Daniel Amos (a.k.a. DA and da) David and the Giants Mike Deasy DeGarmo and Key Dino Dion Jessy Dixon Phil Driscoll Roby Duke Bob Dylan E Evie F Don Francisco Aretha Franklin Richie Furay G The Bill Gaither Trio Chuck Girard Glad Glass Harp Amy Grant Al Green Keith Green Peter Green Arlo Guthrie H Danniebelle Hall Pam Mark Hall Larnelle Harris Harvest Edwin Hawkins (and the Edwin Hawkins Singers) Bryn Haworth Mark Heard Heritage Singers Annie Herring Benny Hester Dallas Holm Honeytree Jimmy Hotz Tom Howard Billie Hughes I The Imperials J Jerusalem JC Power Outlet (band) K Tonio K. Kurt Kaiser Kansas Phil Keaggy Dave Kelly Debby Kerner L Lazarus Liberation Suite Little Richard Love Song M Malcolm and Alwyn Darrell Mansfield Randy Matthews Barry McGuire Sister Janet Mead Ken Medema David Meece Mighty Clouds of Joy Van Morrison Mustard Seed Faith Mylon and Holy Smoke N Larry Norman O Oak Ridge Boys Doug Oldham Michael and Stormie Omartian P Leon Patillo Sandi Patty Gary S. Paxton Dan Peek Petra Andy Pratt Elvis Presley Billy Preston Pantano Salsbury R Reba Rambo Ray Repp Resurrection Band (a.k.a. Rez Band) Cliff Richard Johnny Rivers Austin Roberts S Seawind Shekina Glory Tim Sheppard B.W. Stevenson Randy Stonehill Noel Paul Stookey Sweet Comfort Band Ron Salsbury T John Michael Talbot B.J. Thomas Truth Tim Sheppard W Matthew Ward Wayne Watson The Way Kelly Willard Lanny Wolfe Trio Christine Wyrtzen Notes +Artists Pop
Bosomtwe is one of the constituencies represented in the Parliament of Ghana. It elects one Member of Parliament (MP) by the first past the post system of election. It is located in the Bosomtwe District of the Ashanti Region of Ghana. Boundaries Bosomtwe is located in the Bosomtwe District of the Ashanti Region of Ghana. Members of Parliament Elections See also List of Ghana Parliament constituencies References Parliamentary constituencies in the Ashanti Region Ashanti Region
Arve Henriksen (born 22 March 1968) is a Norwegian trumpeter. Career Henriksen was born in Stranda and educated on the Jazz program at Trondheim Musikkonservatorium; he later studied music pedagogy, while he played in «Bodega Band» (1987–88), «Luft» (1987–89), «Veslefrekk» from 1989, «Close Enough» 1990–92, «Nutrio» from 1990, and recorded with Bjørn Alterhaug and «Tre Små Kinesere» (1990). After graduating in 1991, he joined the «Trio Midt-Norge» and «Piggy Bop». He has played among others with Misha Alperin, Jon Balke's Magnetic North Orchestra, Nils Petter Molvær, Audun Kleive, Trygve Seim, Terje Isungset, Christian Wallumrød and recently with Iain Ballamy's Food for Quartet and Supersilent, both bands signed on Rune Grammofon. He has also contributed to David Sylvian's Nine Horses project and his work, When Loud Weather Buffeted Naoshima. He also sings; his unique wordless vocalising was central to Chiaroscuro, where he often sings in a soprano's range. The control over his head voice is such that in "Opening Image" he could quite easily be mistaken for a woman. With Supersilent he has been a major contributor to one of the most acclaimed improvisational bands over the last 14 years in Norway, with collaborations with Terje Rypdal among others. John Paul Jones played with them at the Punkt festival 2010, in Kristiansand, Norway and again at Moldejazz 2012. John Kellman of the All About Jazz magazine recognized Arve Henriksen/Jan Bang Double CD Release Show at The Punkt Festival, Kristiansand, Norway, September 2013, as no. 17 of his "Best Live Shows of 2013". Honors 2005: Buddyprisen 2007: Radka Toneff Memorial Award 2011: Kongsberg Jazz Award 2011: Paul Acket Award, North Sea Jazz 2016: Dr Honoris Causa at Gothenburg University Discography Solo albums 2001: Sakuteiki (Rune Grammofon) 2004: Chiaroscuro (Rune Grammofon) 2007: Strjon (Rune Grammofon) 2008: Cartography (ECM Records) 2013: Places Of Worship (Rune Grammofon) 2014: The Nature Of Connections (Rune Grammofon) 2014: Chron (Rune Grammofon) 2014: Cosmic Creation (Rune Grammofon) 2017: Towards Language (Rune Grammofon) 2018: The Height Of The Reeds (Rune Grammofon) 2018: Composograph: A Synthesis Of Wood, Metal And Electronics (Arve Music) 2019: The timeless nowhere (Rune Grammofon), boxed set 4 X LP plus 2 X CD 2021: Mental Fatigue (Arve Music) 2021: Murimorphosis (Arve Music) Compilations 2012: Solidification (Rune Grammofon) 2014: Chron|Cosmic Creation (Rune Grammofon) Collaborative work 2000: Daa (NorCD), with Terje Isungset and Karl Seglem 2000: Birth Wish (Pan M Records), with Christian Wallumrød, Jan Bang and Erik Honoré 2007: Sketches Of Spain (Nor Wind Records), with The Norwegian Wind Ensemble and Maria Schneider 2009: Ellivan (NorCD), with Elling Vanberg 2010: Clinamen (Off, Rat), with Giovanni Di Domenico and Tatsuhisa Yamamoto 2012: Black Swan (Rat Records), with Teun Verbruggen 2012: Uncommon Deities (P-Vine Records), with Jan Bang, Erik Honoré, David Sylvian and Sidsel Endresen 2012: Distare Sonanti (and/OAR), with Giovanni Di Domenico and Tatsuhisa Yamamoto 2014: World Of Glass (All Ice Records), with Terje Isungset 2016: Atmosphères with Tigran Hamasyan, Eivind Aarset, and Jan Bang (ECM) 2017: Rímur with Trio Mediæval (ECM) 2017: The Art Of Irrigation (All Ice Records), with Terje Isungset 2018: Pilgrim (ACT), with Janne Mark 2018: Illusion Of A Separate World with David Kollar (Hevhetia) References External links AllAboutJazz - the musician's profile on AllAboutJazz. Bungey, John (2007) "Arve Henriksen: Strjon" (review), The Times, May 26, 2007 Bungey, John (2009) "Arve Henriksen: Cartography" (review), The Times, January 10, 2009 Arve Henriksen: Places of Worship – review (5 stars) by John Fordham, October 24, 2013 at The Guardian } } 1968 births Living people Norwegian University of Science and Technology alumni 20th-century Norwegian multi-instrumentalists 21st-century Norwegian multi-instrumentalists 20th-century Norwegian trumpeters 21st-century Norwegian trumpeters 20th-century Norwegian male singers 20th-century Norwegian singers 21st-century Norwegian male singers 21st-century Norwegian singers Norwegian jazz trumpeters Male trumpeters Norwegian jazz singers Norwegian jazz composers Rune Grammofon artists ECM Records artists People from Stranda Musicians from Møre og Romsdal Male jazz composers Supersilent members Generator X (band) members Veslefrekk members
Girish Puthenchery (1961–2010) was a noted Malayalam Lyricist, Poet, Scriptwriter and Screenwriter. He was always referred to as the aristocratic lyricist of malayalam who had a distinctive writing style of his own. He also served as the director of Indian Performance Rights Society Malayalam division (I.P.R.S) and governing council member of the Kerala Kalamandalam and Kerala Lalithakala Academy. He debuted with the movie Enquiry in 1989. He won the Kerala State Film Award for Best Lyricist seven times. He also holds the record for writing the highest number of songs in the malayalam film industry within the briefest period of time. He died on 10 february 2010 in a private hospital in kozhikode. Life and career Personal life Girish was born to Pulikkool Krishna Panicker and Meenakshi Amma in Puthenchery near Ulliyeri village in Kozhikode district of Kerala. His father was an astrologer and Ayurvedic practitioner, while his mother was a Carnatic musician. Girish learned the basic lessons of music from his mother and knowledge of Sanskrit from his father. He completed his primary education at GLP School Puthenchery, AUP School Modakkallur, and Palora HSS Ulliyeri after that he pursued a degree in literature at Govt arts and science college, Meenchantha. From a very young age, Girish was drawn towards the language and literature of malayalam, at the age of 14 his first poem named Mochanam (ml:മോചനം) is published in a weekly magazine . During his childhood days he is an active member of Balasangam (an Indian children's organization wing of the CPIM ) and later he became a noted artist of Chenthara Arts Club (a cultural club located in Puthenchery) by writing and directing many dramas and songs along with his brother Mohanan puthenchery and natives. He is married to Beena and they have two children, Jitin Puthenchery and Din nath Puthenchery. His elder son Jithin started off as an assistant director, working on films Breaking News, Money Rathnam, Rock On 2 and Tharangam. Jithin managed to land his first major acting gig after writer director Shankar Ramakrishnan organised an acting camp to select actors for Pathinettam Padi. Jithin also played major roles in the films include Edakkad Bttalion, Pranaya Meenukalude Kadal. His younger son Din Nath started his career as a lyricist and copywriter who has penned many songs for Malayalam films including Meow Meow Karimpoocha, Matinee, Aasha Black, Money Ratnam, Gunday, Chennai Koottam, Seconds, Moonu Wickettinu 365 Runs, Olappeeppi, Mangalyam Thanthunanena, and is currently working as an assistant director in Malayalam film industry, most recently on the movie Trance. Prior to joining the malayalam film industry, He worked as a collection agent in Kozhikode RTO office and copywriter at All India Radio, Kozhikode. At the same time, he continued to write songs and Lalitha Ganams for popular cassette Recording Companies include Akashvani, HMV, Magnasounds and Tharangini and he also penned many hit songs for Dooradarshan and Asianet. Film career In 1989 malayalam movie Director Vijayan Karote introduced Girish to the malayalam film industry. Girish penned lyrics and screenplay for Vijayan karot's movie named Bhramarakashassu, but due to some reasons the initial release of the film was delayed, at the same year Girish got an opportunity to write songs for another movie named Enquiry which was directed by U.V Raveendranath and with Rajamani as the music composer through this film Girish's first song "Janmantharangalil" released and it was his debut movie, But the songs didn't gain much popularity. After that director Ranjith scripted for the movie Georgootty C/O Georgootty turned Girish to the lyrics writing. Ranjith's recommendation brought him the chance to write songs for director Jayaraj's movie Johnnie Walker which was his breakthrough film, whose track Shanthamee Rathriyil has become iconic and had brought him critical acclamation, which reflects his career in Malayalam film industry. He was also one of the most honoured lyricists having won the Kerala State Award for best lyricist seven times. Other works Besides writing lyrics, Girish had also written the screenplay for the films Brahmarakshassu, Pallavur Devanarayanan, Vadakkumnadhan, and Kinnaripuzhayoram, and the story for Meleparambil Aanveedu, Adivaram, Ikkareyanente Manasam, Oro Viliyum Kathorthu and Kerala House Udan Vilpanakku. Girish has also published two poetry collection.He also composed music for a devotional album. He was also scripting a film by the name of Raman Police, in which Mohanlal was expected to play the lead role. Filmography Most Popular Songs Pinneyum Pinnenyum Doore Maamara Kombil Manikyakkallaal Velli Nilaa Thamarappoovil Vazhum Ammoommakkili Vayadi Onnam Vattam Kandappol Harimuraleeravam Padi Thodiyiletho Malayannarkkannan Choolamadichu Karangi Ethrayo Janmamay Oru Rathri Koodi Aarodum Mindathe Machakathammaye Oru poovine Doore oru Tharam Moovanthithazhvarayil Manjakkiliyude Ponnaaryan Padam Melleyen kannile Karunaamayane Sundariye Sundariye Thechippove Thenkashi Othiri Othiri Aaro Viral Neetti Vennilaakkombile Nadodipoothinkal Njan oru pattu padaam Thumbayum thulasiyum Shanthamee Rathriyi Rathrilillikal Poothapol Kaikkudanna Niraye Ooru sanam odi vannu Soorya kireedam Medapponnaniyum Olachangaali Karutha penne Ninne Kallipoonkuyile Poonilaamazha Chinkaram kinnaram Nilave Mayumo Aattuthottilil Ninne Thaimaavin Thanalil Thechippove Thenkashi Nilavinte neelabhasma Maaleyam Marodaninjum Sooryanalam Mele Mele Maanam Ponnambili pottum Thottu Manjil Pootha sandhye Raathinkal Poothaali Vaidooryakkammalaninju Devakanyaka Paathirappullunarnnu Manjakkanikkonna Maarikkoodinnullil Chemboove Poove Aattirambile Kombile Thankathinkal Kiliyay Neeyurangiyo nilave Kithachethum kaatte Urukiyuruki Vilakku vaykkum Manjukaalam nolkkum Veyilinte Oru Thooval Pular veyilum Pakal Ponnaanappuramerana Kokki Kurukiyum Nilaappaithale Ey Chumma Chumma Mele vinnin muttatharee Thekku Thekku Thekkan Katte Yaathrayayi Sooryankuram Oru chik chik chirakil Kanakamjunthirikal Onnu Thottene Ninne Manimuttathaavani Vaarthinkal Thellalle Kannil Kaashithumba Pazhanimala murukanu Niranazhi Ponnin Shivamalli Poo Pozhiikum Manassin Manichimizhil Kunuku Penmaniye Aakasha deepangal Sakshi Pottukuthedi Thakilu Pukilu Ariyathe Ariyathe Vadikadara Vedi Padahamode Kudamulla Kammalaninjal Marannittumenthino Ammayenna Vakku kondu Thira Nirayum churul Pinakkamano Ennodinakkamano Shwasathin thalam Munthiri padam poothu Muttathethum Thennale Aararum Kanathe Aaromal Oru chiri kandal Ammayenna Vakku kondu Thira Nirayum churul Pinakkamano Ennodinakkamano Shivamalli kavil koovalam Pottu thottu ponnumani Kannil ummavechu padan sayam Sandhyayil Etho Rathrimazha Mallikapoo Pottuthottu Kusumavadhana Poo Kumkumapoo Aatinkarayorathe Gange thudiyil kalabham thram Oru kili pattu Mukile Mukile Natha nee varumbol Arappavan Ponnukond Pattum Padiyoru Dhum Dhum Dhum Raaverayay poove Amma mazhakarinu Jwalamukhi kathunnoru oru yathra mozhiyode Chanthu Thottile koovaram kili paithale Eniku padan oru Mamarangale oru manju Aaro nilavay thalodi Vennilavu kannuvecha Junile Nilamazhayil Aakashamariyathe Pinne ennodonnum parayathe Manju Kalam Dhoore Manju Death Girish was a chronic diabetic and hypertensive patient. He was admitted to MIMS hospital near his home on 6 February 2010 after he suffered a massive stroke. He was writing a eulogy on the popular actor and director Cochin Haneefa, who had died four days earlier, when he suffered a stroke. He slipped into a coma soon after reaching hospital. He was twice operated upon, but his condition did not improve and he suffered a brain hemorrhage. Finally he died at the hospital at 8:30 PM on 10 February 2010, aged 48. He was cremated with full state honors at the Mavoor Road crematorium on the next day. Awards References External links Malayalam-language writers Malayalam-language lyricists Writers from Kozhikode Kerala State Film Award winners 1961 births 2010 deaths Filmfare Awards South winners Screenwriters from Kerala 20th-century Indian poets Poets from Kerala 21st-century Indian poets Malayalam screenwriters
Yanda Dogon is a Dogon language spoken in Mali. It is reported to be lexically similar to Nanga, which is only known from one report from 1953. References Sources . External links Yanda wordlist (Dendo and Blench, 2005) Dogon languages Languages of Mali
Adesmus pulchellus is a species of beetle in the family Cerambycidae. It was described by Galileo and Martins in 1999. It is known from Argentina. References Adesmus Beetles described in 1999
Madaripur-3 is a constituency represented in the Jatiya Sangsad (National Parliament) of Bangladesh since 2019 by Abdus Sobhan Golap of the Awami League. Boundaries The constituency encompasses Kalkini Upazila and five union parishads of Madaripur Sadar Upazila: Ghatmajhi, Jhaudi, Kendua, Khoajpur, and Mustafapur. History The constituency was created in 1984 from a Faridpur constituency when the former Faridpur District was split into five districts: Rajbari, Faridpur, Gopalganj, Madaripur, and Shariatpur. Members of Parliament Elections Elections in the 2010s AFM Bahauddin Nasim was elected unopposed in the 2014 general election after opposition parties withdrew their candidacies in a boycott of the election. Elections in the 2000s Elections in the 1990s References External links Parliamentary constituencies in Bangladesh Madaripur District
Jude Idada is a Nigerian actor, poet, playwright and producer best known for writing the feature film, The Tenant. He has also produced and written several other short films and books. Early life and education Idada, a descent of Edo, was born and raised in Lagos, Nigeria. Idada was a pure science student in high school without any background in the arts. He initially applied to study medicine in the university but later, he changed his course of study to agricultural economics. After a couple of semesters in agriculture, Idada quit studying agricultural economics and stayed at home for nine months after which, he got admitted to the University of Ibadan to study theater arts where he had his first degree. Career After graduation, Idada worked at Guardian Express Bank, a job he got while he was still a corps member after which he moved to Arthur Andersen. He immigrated to Canada, did a postgraduate and worked in banks, telecommunication firms and along that line. After seeing a short film with friends, he resigned his job to pursue writing and film production. He was selected as one of the screenwriters for the Toronto International Film Festival's Adapt This! and the Afrinolly/Ford Foundation Cinema4Change projects. Idada was also an inaugural participant in the Relativity Media/AFRIFF Filmmaking project. He is the Artistic director of the Africa Theatre Ensemble in Toronto, Canada. Idada has stage plays, collection of short stories, poetry to his credit. Stage plays: Flood, Brixton Stories, Lost and Coma, 3some. He has also written and published a collection of short stories: A Box of Chocolates, Exotica Celestica. Written and directed Stage plays: Oduduwa – King of the Edos, By My Own Hands and a children's book Didi Kanu and the Singing Dwarfs of the North. As an acting coach, Idada teaches a wide variety of thespians, the rudiments and technicalities of acting for stage and for film. He has also guest lectured for the African Theatre Ensemble in Canada, the Mofilm/Unilever Sunlight Foundation Film Project in Nigeria, the AIDS foundation in Guyana and also chaired several panels at International Film Festivals and writing for various magazines. Filmography Film Chameleon (Short Film) – 2016 – Writer/Director Blaze Up The Ghetto (Documentary) – 2010 – Director The Tenant (Feature Film) – 2005 – Writer/Producer Inside (Short Film) – 2000 – Director/Producer The Woman in my Closet – (Short Film) – 1999 – Director/Producer Young Wise Fools – (Short Film) – 1999 – Director/Producer Stage plays 3some by Idada – 2018 – Director/Producer Coma by Idada – 2013 – Director Lost by Modupe Olaogun – 2013 – Director Brixton Stories by Biyi Bandele – 2012 – Director The Flood by Femi Osofisan – 2011 – Director In The Name of The Father – 2008 – Writer/Director The Seed of Life – 2008 – Writer/Director Love is the Word – 2007 – Writer/Director Your God is Dead – 2000 – Director/Writer/Producer Power of Love – 1999 – Director/Writer/Producer Snares of Lucifer – 1998 – Director/Writer/Producer Writing credits Screenplays Simi (feature film) – 2016 – For Applegazer and Karmacause Productions, producer, Udoka Oyeka Tatu (Feature film) – 2016 – For Filmhouse Productions, producer, Don Omope The River (feature film) – 2015 – For Applegazer and Karmacause Productions, Producer Orode Uduaghan House Girls (TV Series) – 2015 – For Xandria Productions; Producers, Chineze Anyaene, Theophilus Ukpaa. Driving Mr Akin (feature film) – 2015 – For Xandra Productions, producer, Chineze Anyaene. Doctor Death (feature film) – 2014 – For Raconteur/Creoternity Productions, Producer Chioma Onyenwe The Road (Short film) – 2014 – For Afrinolly/Ford Foundation Justice (Short film) – 2014 – For Elvina Ibru Productions Sunshine (feature film) – 2013 Coma (Feature Film) – 2012 – For I Take Media, Producers, Fabian Lojede, Mickey Dube Journeys of One (Feature Film) – 2011 – For Omcomm Communications, Producer; Soledad Grognett Lagos Connection (Feature Film) – 2011 – For 1 Take Media, Producer; Fabian Lojede Afreeka (Feature Film) – 2010 The Drum (Feature Film) – 2010 Sex in the Age of Innocence (Feature Film) – 2009 No More An Uncle Tom (Feature Film) – 2009 The Dilemma (Feature Film) – 2008 Ghetto Red Hot (Feature Film) – 2007 – (Optioned) Mirage (Feature Film) – 2006 Kite (Feature Film) – 2006 – for NTFG Productions, Producer Yifei Zhang The Tenant (Feature Film) – 2005 – released 2008 by Broken Manacles Entertainment Somewhere in Between (Feature Film) – 2005 (Optioned) Faces of a Coin (Feature Film) – 2004 (Optioned) Inside – (Short Film) – 2000 The Woman in my Closet – (Short Film) – 1999 Young Wise Fools – (Short Film) – 1999 Two Faces of a Coin (Short Film) – 1998 Stage plays Sankara – 2016 – Commissioned by G.R.I.P media MKO – 2016 – Commissioned by the MKO Abiola family 3some – 2016 – Optioned by Make It Happen Productions The March – 2016 – Optioned by Theatre Magnifica Resurrection – 2014 – Optioned by Oracles Repertory Theatre The Calling – 2013 – Commissioned by African Theatre Ensemble Coma – 2012 – Optioned by Oracles Repertory Theatre In The Name of The Father – 2008 – Performed by the Visionaries The Seed of Life – 2008 – Performed by the Visionaires Love is the Word – 2007 – Performed by the Visionaires Vendetta – 2006 – Optioned by the Africa Theatre Ensemble Oduduwa "King of the Edos" – 2005 – Performed by the Oracle Repertory Theatre Published by Createspace/Creoternity Books Power of Love – 1994 – Performed by Neighbours International Your God is Dead – 1994 – Performed by Neighbours International Snares of Lucifer – 1993 – Performed by Neighbours International Novels More than Comedy (A Biography of Efosa ‘Efex’ Iyamu) – 2015 Didi Kanu and the Singing Dwarfs of the North – 2015- Createspace/Creoternity Books By My Own Hands – 2014 – Createspace/Creoternity Books A Box of Chocolates – 2005 – Trafford Publishing (Collection of Short Stories) Boom Boom – 2019 – Winepress Publishing Poetry Exotica Celestica – 2012 – Createspace/Creoternity Books Meditations of a Traveling Mind – 2004 Oh My Lord! – 1992 Songs Firefly – 2016 – Chibie; Producer: Brian Quaye, Chibie Okoye Life is Sweet– 2013 – Chibie; Producer: Jeff McCulloch Speed Demon – 2013– Chibie; Producer: Jeff McCulloch Revolution – 2013 – Chibie; Producer: Soji Oyinsan I No Be Tenant – 2010 – Blacko Blaze ft Chibie; Producer: Blacko Blaze, Released by Broken Manacles Entertainment Acting credits 8 Bars and A Clef (Feature Film) – Dir Chioma Onyenwe – 2014 The Tenant (Feature Film) – Dir Lucky Ejim – 2006 Death and the Kings Horseman (Stage Play) – Dir Ronald Wiehs – 2004 The Prize (Stage Play) – Dir Lekan Fagbade – 2000 Inside (Short Film) – Dir Idada – 2000 Ezenwanyi (Stage Play) – Dir Chetachukwu Udo – Ukpai – 1999 The Woman in my Closet (Short Film) – Dir Idada – 1999 Young Wise Fools ( Short Film) – Dir Idada – 1999 Doom (Stage Play) – Dir Yacoub Adeleke – 1997 Grip Am (Stage Play) – Dir Dare Fasasi – 1997 Hopes of the Living Dead (Stage Play) – Dir Lekan Fagbade – 1998 Queen Idia (Stage Play) – Dir Israel Eboh −1998 Human Zoo (Stage Play) – Dir Dare Fasasi – 1997 Snares of Lucifer (Stage Play) – Dir Idada, Ifeanyi Agu – 1993, 1997 Your God is Dead (Stage Play) – Dir Idada – 1994 Power of Love (Stage Play)- Dir Idada – 1994, 1999 Eku (Stage Play) – Dir Wale Macaulay – 1995 Atakiti (Stage Play) – Dir Esikinni Olusanyin – 1995 Awards and recognition References External links Nigerian screenwriters Living people People from Edo State University of Ibadan alumni Nigerian film directors Year of birth missing (living people) Nigerian film producers Filmmakers from Lagos
Warren Neidich ( ) is an American artist who lives in Berlin and Los Angeles. He was a professor at Kunsthochschule Weißensee School of Art, Berlin and visiting scholar at Otis College of Art and Design, Los Angeles. Neidich is founding director of the Saas-Fee Summer Institute of Art (SFSIA). He has collaborated with artists, curators and critics including: Barry Schwabsky (co-director of SFSIA), Armen Avanessian, Nicolas Bourriaud, Tiziana Terranova, Franco Berardi, Hans-Ulrich Obrist, Isaac Julien, Hito Steyerl, Chris Kraus (American writer), and many others. His work has been exhibited at numerous institutions including: MoMA PS1, Whitney Museum of American Art, LACMA – Los Angeles County Museum of Art, California Museum of Photography, ICA – Institute of Contemporary Arts, London, Museum Ludwig, Cologne, and Walker Art Center, Minneapolis, Minnesota. In relation to his exhibitions and extended theories he has edited and published over 10 books, including Neuromacht, Merve Verlag (German), 2017, the Psychopathologies of Cognitive Capitalism: Part One (2013), Two (2014), and Three (2017), Archive Books (English), the Noologist's Handbook and Other Art Experiments, Anagram, 2013, From Noopower to Neuropower: How Mind Becomes Matter, 2010 and, Cognitive Architecture. From Biopolitics to Noopolitics. Architecture & Mind in the Age of Communication and Information, 2010. He was collaborator, along with Elena Bajo and others, on Exhibition 211 in New York, 2009. Main themes A major theme in Neidich's practice can widely be summarised as neuroaesthetics (not to be confused with mainstream neuroesthetics), an area of critical and constructive thought, which can loosely be seen as the confluent impact of the brain on a cultured environment and, importantly, vice versa, upon which he began lecturing in 1996 at the School of Visual Arts in New York City. His website artbrain.org, which includes The Journal of Neuro-Aesthetic Theory, was published online in 1997. Cognitive capitalism (cognitive-cultural economy), 'critical' neuroscience, neuroplasticity, post-Workerism, immaterial labor, and epigenesis are recurring themes since 1996, while earlier themes, between 1985 and 1996, were interested in culturally based work about race, politics, historical reenactment, fictive documentary, staging, photographic practice, the archive, and anachronistic technology. On these topics he has published several books including: Neuromacht, 2017, Psychopathologies of Cognitive Capitalism: Part One, Two, and Three, The Noologist's Handbook and Other Art Experiments, 2013, From Noopower to Neuropower: How Mind Becomes Matter, 2010 and Cognitive Architecture (From Biopolitics to Noopolitics. Architecture & Mind in the Age of Communication and Information), 2010, and Blow Up: Photography, Cinema and the Brain, 2003. Neidich's work has examined the co-evolution of the history of art, brain, and mind, which provides a critical foundation to his understanding of neuroaesthetics as an ontologic process. The key to neuroaesthetics is the investigation of apparatuses in which a network of heterogeneous discourses is administered. As the world and technology change, so to the apparatuses which organize it, and the cognitive strategies with which one can understand it. This is especially true of the information age, which distributes such apparatuses non-linearly and profusely. Neidich's work is inspired by Michael Snow, Stan Brakhage, Jean-Luc Godard and the Apparatus Theory of Stephen Heath. Studies and teaching Warren Neidich has studied in diverse fields since 1970 including Photography, Psychology, Biology, (BA Magna Cum Laude Washington University in St. Louis), Neurobiology (as research fellow at California Institute of Technology, under the laboratory of Roger Wolcott Sperry who later won the 1981 Nobel Prize in Physiology and Medicine) and Architecture, he is also a Board Certified Ophthalmologist from Tulane Medical Center. Neidich has collaborated with Goldsmiths College on several occasions since 2003, when he was visiting artist and lecturer. In 2005 he organized the first symposium on Neuroaesthetics, and in 2014, with Mark Fisher, he organized a symposium titled 'The Psychopathologies of Cognitive Capitalism: The Cognitive Turn Organized'. At Delft School of Design, Delft University of Technology in The Netherlands (where he was a PhD candidate under Professor Dr. Arie Graafland), in 2008 he co-organized "Architecture in Mind: From Biopolitics to Noo politics." Art practice and theories Early works (1985–1996) From 1985 to 1997 Neidich worked on a number of projects investigating the relationship between power and representation, focusing on reenactment, staging, fictive documentary and performance. Major works from this time include the American Civil War studies The Battle of Chickamauga and Amputation without Anaesthesia exhibited at The Photographic Resource Center, Boston in 1991 and "American History Reinvented" (1986–1991) at Burden Gallery, Aperture Foundation, New York City, in 1989. Neidich's appropriation of historical moments by means of photography has been discussed by John Welchman, Christopher Phillips, Graham Clarke, and David Joselit. The series of altered photographs "Unknown Artist", which recast the early 20th-century art coterie as a social rather than an individual phenomenon, were installed at Berlin's Paris Bar in 1994 in collaboration with Martin Kippenberger and Michel Wertle. In 1994, Neidich's photography-based sculptural installation Collective Memory and Collective Amnesia (1991–94) used the culturally-constructed story of Anne Frank to reflect upon pop culture's vulgarization of history. Neidich's slide show projection "Beyond the Vanishing Point: Media Myth in America" was shown at N.Y. Kunsthalle, NYC in 1995. It traced a journey across America fifty years after Jack Kerouac, culminating in a surrealist photographic exposé of the media encampment that grew outside the courthouse during the O.J. Simpson trial in Los Angeles (1995–97). The book Camp O.J., published by D.A.P. exposed the condition of infotainment. The introduction of Neuroaesthetics (1996–2002) In 1996 Neidich, began to explore the phenomenological conditions surrounding the cultural and historical aspects of his work. These research projects took the form of texts and lectures entitled "Neuroaesthetics", first delivered at the School of Visual Arts in New York, 1995–1996 when Neidich was visiting lecturer in the Department of Photography and Related Media under Charles Traub. In 1997 With the help of Nathalie Angles, current director of Residency Unlimited, he launched the platform artbrain.org, consisting of The Journal of Neuroaesthetics and Netspace Gallery. Neuroaesthetics, (differing from the scientific approach with the same name often spelled neuroesthetics), believes that artists in all their modes such as poetry, cinema, installation art and architecture, using their own spaces, apparatuses, materials, sense of time, and performative gestures, can elaborate truths about the noumenal and phenomenal world on part with those generated by the sciences. These truths compete effectively in the marketplace of ideas. The post-structuralist brain/mind/body/world complex, in which cultural mutations are transposed into parallel changes in the mind, brain and body, expressed in works such as "Brainwash" (1997), Neidich's first application of his hybrid dialectics, developed greater tenacity in 1999 when Neidich curated "Conceptual Art as Neurobiological Praxis" at Thread Waxing Space in New York which "rather than being a show about the collaboration between art and science or a reductive methodology of how the brain works, the exhibition attempted to promote the idea of a becoming brain" and included artists: Uta Barth, Sam Durant, Charline von Heyl, Jason Rhoades, Liam Gillick, Douglas Gordon, Thomas Ruff, Simon Grennan and Christopher Sperandio, and others. Neidich's video-works from this period include Apparatus, Memorial Day (1998), Kiss, and Law of Loci(1998–99). The exhibitions "The Mutated Observer Part 1" (2001), and "The Mutated Observer Part 2" (2002) at the California Museum of Photography showcased a number of handmade apparatuses, so-called "Hybrid Dialectics", in vitrines adjacent to those of the museum's collection. Recent work (2006–2017) Neidich's essay The Neurobiopolitics of Global Consciousness, published in the Sarai Reader 'Turbulence' in 2006, clearly connected the ideas of neural plasticity, epigenesis and Empire. Topics such as Neuro biopolitics were extended to include the political impact of immaterial labor and the Information Age on the production of architecture and built space, specifically in relation to the ways in which intense sensory and perceptual effect are now used to organize cultural attention. These ideas later evolved into a series of performative drawings staged in his studio at IASPIS in Stockholm (2008) and at The Drawing Center, New York (2009). The same year Neidich also organized the conference "The Power of Art" at The Drawing Center, New York. In 2008 Onomatopee published Neidich's book Lost Between the Extensivity-Intensivity Exchange for which he outlined that the "inauguration of the 21st century could be described as a time of cultural torpor resulting from free floating anxiety, ambivalence, and wavering", going on to say, "the condition, suggested by the title, that of being lost in the ‘in-between zone’ of extensive and intensive labor and two evolving partially incommensurable world views, the local (tribal) and global (cosmopolitan) or the nation-state and the Earthling, merged" "What has become obvious to me is that in our moment of cognitive capitalism in which the brain and mind are the new factories of the twenty-first century, forms of activism invented during industrial capitalism like refusal to work, absenteeism, and labor strikes are no longer up to the task" – Warren Neidich 2017 In Pizzagate (2017) Neidich returned to his earlier work on apparatus entitled 'Hybrid Dialectics' (1997–2003). In the work he delineates the new apparatuses of the knowledge economy like clickbait and memes as they produce new forms of subjectivity. Drive-By-Art In May 2020, in response to the impact of the COVID-19 epidemic, Neidich curated the exhibition Drive-By-Art (Public Art in This Moment of Social Distancing) which took place at various locations, first in the Hamptons and then later in Los Angeles. The exhibitions featured work by 174 artists spread over multiple locations in "an attempt to bring back a sense of solidarity to the artistic and cultural community". The exhibition was featured in numerous publications including Artforum, Time, The Chicago Tribune and The New York Times. Saas-Fee Summer Institute of Art The Saas-Fee Summer Institute of Art (SFSIA) is a nomadic academy that originated in Saas-Fee, Switzerland in 2015, and moved to Berlin in 2016 where it could engage with the local active art scene. SFSIA maintains the moniker today simply as a nod to its origins. It was founded by fine artist and theorist Warren Neidich, and is co-directed by art critic and poet Barry Schwabsky. The school has included many notable collaborators in workshops or as speakers. SFSIA was born as a parallel program to the activities at the neighboring European Graduate School (EGS), sharing the evening public program, however with no formal connection. Schwabsky, in conversation with Jennifer Teets for Art & Education, has described his desire for the school to respond to a "crisis" across the sector wherein art academies are "controlled by administrators—not by faculty—an ever-expanding layer of bureaucrats who are removed from the real needs of students and the realities of teaching and research." Each year SFSIA has approached a new theme, the founding being 'Art and the Politics of Estrangement' (2015), followed by 'Art and the Politics of Individuation: Affect and the Multiple Body in Cognitive Capitalism' (2016) and 'Art & the Politics of Collectivity' (2017). The 2018 program circulates around the theme of 'Art and Politics in the Age of Cognitive Capitalism' and will take place in Los Angeles and Berlin. List of collaborators: Elena Agudio (2017) Marie-Luise Angerer (2017) Julieta Aranda (2016) Armen Avanessian (2015) Defne Ayas (2017) Elena Bajo (2016) Heidi Ballet (2017) Franco Berardi 'Bifo' (2015, 2017) Benjamin Bratton (2015) Nicolas Bourriaud (2017) Arne De Boever (2017) Yann Moulier-Boutang (2017) Mathieu Copeland (2015, 2017) Jodi Dean (2017) Nikola Dietrich (2017) Keller Easterling (2015) Gale Elston (2015) Oriol Fontdevila (2016) Anselm Franke (2015) Charles Gaines (2015) Julieta Gonzalez (2017) Krist Gruijthuijsen (2017) Anke Hennig (2015) Robby Herbst (2017) Helen Hester (2017) Yuk Hui (2017) Isaac Julien (2017) Sanford Kwinter (2015) Brandon LaBelle (2017) Quinn Latimer (2015) Dan Levenson (2017) Deborah Ligorio (2017) Isabell Lorey (2017) Jens Maier-Rothe (2017) Antonia Majaca (2017) Lambros Malafouris (2017) Augustin Maurs (2017) Achim Menges (2015) Ari Benjamin Meyers (2017) Suzana Milevska (2015) Hans Ulrich Obrist (2017) Matteo Pasquinelli (2017) Peter Pelbart (2017) Susan Philipsz (2016) John Rajchman (2015) Gerald Raunig (2015, 2017) Dorothee Richter (2015) Tomas Saraceno (2016) Aaron Schuster (2016) Hito Steyerl (2015) Ludwig Seyfarth (2017) Eric Golo Stone (2015) Jennifer Teets (2017) Ana Teixeira Pinto (2016) Tiziana Terranova (2017) Ben Vickers (2015, 2017) Anuradha Vikram (2017) Joanna Warsza (2017) Markus Weisbeck (2017) Ming Wong (2017) Exhibitions Selected solo exhibitions The Politics of Color, Kunstverein am Rosa-Luxemburg-Platz e.V., Berlin, DE (2017) The Palinopsic Field, Los Angeles Contemporary Exhibitions, Los Angeles, CA (2016) The Artists’ Library, LAXART, Los Angeles, CA Manifesta 10 Parallel Program, curated by Joanna Warsza, Saint Petersburg, RU (2014) The Townhouse Gallery, Cairo, EG (2013) Fons Welters Gallery, Amsterdam, NL(2011) Galerie Moriarty, Madrid (2011) Glenn Horowitz Gallery, East Hampton, NY, US (2010) Gallery Magnus Müller, Berlin (2008) Trolley Gallery, London (2007) Andrew Mummery Gallery, New York (2006) Storefront for Art and Architecture, New York (2002) Edward Mitterrand Gallery (2002) Laguna Art Museum, Laguna Beach, CA (2001) UCR/California Museum of Photography, Riverside, CA (2001) Villa Arson, Nice, France (1994) Photographic Resource Center, Boston University (1991) MIT's List Visual Arts Center, Cambridge, MA (1991) Aperture Foundation, New York (1989) Selected group exhibitions The Search Drive, Globale: Infosphäre at Center for Art and Media Karlsruhe, curated by Peter Weibel, Daria Mille and Giulia Bini, Karlsruhe (2015) The Fax Show, Drawing Center, curated by João Ribas, New York (2009) Library, Librarie, Institute of Contemporary Arts, London (2005) Everything is connected he, he, he, Astrup Fearnley Museum of Modern Art, Oslo, Norway (2004) Bitstreams, Whitney Museum of American Art, New York (2001) Ports of Entry: William S. Burroughs and the Arts, Los Angeles County Museum of Art, curated by Robert Sobieszek, Los Angeles (1996) New York Stories, MoMA PS1, New York (1991) Des Vessies et des Lanternes, Palais de Tokyo, Paris (1991) Photography of Invention, (touring exhibition), Smithsonian American Art Museum, Museum of Contemporary Art, Chicago and Walker Art Center, curated by Joshua Smith (1989) Queens Museum, Queens, New York (1988) Museum Ludwig, Cologne, Germany (1988) White Columns, New York (1988) Public projects 2004 Madrid Abierto Public Sculpture, Madrid, Spain Books The Color of Politics, BOM DIA BOA TARDE BOA NOITE, 2018. Neuromacht, Merve Verlag (German), 2017. Psychopathologies of Cognitive Capitalism: Part One (2013), Two (2014), and Three (2017), Archive Books (English). The Noologist's Handbook and Other Art Experiments, Anagram, 2013. From Noopower to Neuropower: How Mind Becomes Matter, 2010. Cognitive Architecture. From Biopolitics to Noopolitics. Architecture & Mind in the Age of Communication and Information, 2010. Lost Between the Extensivity/Intensivity Exchange, Onomatopee, 2009. Earthling, Pointed Leaf Press, New York, NY, 2005. Blow-up: Photography, Cinema and the Brain, DAP/UCR/California Museum of Photography, 2003. Camp O.J., Bayly Art Museum, 2001. Cultural Residue: Contamination and Decontamination, Villa Arson, Nice, France, 1994. Unknown Artist, Fricke and Schmid, 1994. Historical in (Tervention), MIT List Visual Arts Center, 2001. American History Reinvented, Aperture, 1989. References External links American History Reinvented Artbrain.org Exhibition 211 an exhibition space in New York City that ran from March to August 2009, initiated by: Elena Bajo, Eric Anglès, Jakob Schillinger, Nathalie Anglès and Warren Neidich Lost Between the Extensivity/Intensivity Exchange Book drive-by-art.org SFSIA American contemporary artists Living people 1958 births Washington University in St. Louis alumni Delft University of Technology alumni
The 2022 Ms. Olympia competition was an IFBB Professional League professional bodybuilding competition that was held on December 16, 2022, at The Venetian Expo & Convention Center in the Planet Hollywood Resort & Casino of Zappos Theater in Paradise, Nevada. It is the most prestigious title for professional female bodybuilding. It was the 38th Ms. Olympia competition to be held. Other events at the exhibition include the 212 Olympia, Bikini Olympia, Classic Physique Olympia, Figure Olympia, Fitness Olympia, Men's Physique Olympia, Mr. Olympia, Wellness Olympia, Wheelchair Olympia, and Women's Physique Olympia competitions. Prize money 1st - $50,000 2nd - $20,000 3rd - $12,000 4th - $7,000 5th - $6,000 Total: $95,000 Callouts Prejudging Theresa Ivancik, Michaela Aycock, Angela Yeo, Andrea Shaw, Helle Trevino, Margie Martin, Branka Njegovec and Alcione Barreto Irene Andersen, MayLa Ash, Chelsea Dion, Mona Poursaleh, Michelle Jin and Donna Salib Lisa Kudrey, Reshanna Boswell, Leyvina Barros, Asha Hadley, Eva Montgomery and Danielle Willis Michelle Jin, Theresa Ivancik, Michaela Aycock, Branka Njegovec, Chelsea Dion and Alcione Barreto Helle Trevino, Angela Yeo, Andrea Shaw and Margie Martin Finals Danielle Willis, Asha Hadley, Reshanna Boswell, Lisa Kudrey and Eva Montgomery MayLa Ash, Irene Andersen, Mona Poursaleh and Donna Salib Michelle Jin, Chelsea Dion, Michaela Aycock, Branka Njegovec, Theresa Ivancik and Alcione Barreto Margie Martin, Andrea Shaw, Angela Yeo and Helle Trevino Results Scorecard 2022 Ms. Olympia Qualified Points standings In the event of a tie, the competitor with the best top five contest placings will be awarded the qualification. If both competitors have the same contest placings, than both will qualify for the Olympia. See also 2022 Mr. Olympia References External links Ms. Olympia homepage Olympia 2022 Premium Viewing Package 2022 in bodybuilding Ms. Olympia Ms. Olympia History of female bodybuilding 2022 Ms. Olympia
In potential theory, a mathematical discipline, balayage (from French: balayage "scanning, sweeping") is a method devised by Henri Poincaré for reconstructing a harmonic function in a domain from its values on the boundary of the domain. In modern terms, the balayage operator maps a measure μ on a closed domain D to a measure ν on the boundary ∂ D, so that the Newtonian potentials of μ and ν coincide outside . The procedure is called balayage since the mass is "swept out" from D onto the boundary. For x in D, the balayage of δx yields the harmonic measure νx corresponding to x. Then the value of a harmonic function f at x is equal to References Potential theory
Melanda: Land of Mystery is a role-playing game published by Wilmark Dynasty in 1980. Description Melanda is a fantasy role-playing system. The game includes rules for character creation, combat, and magic, with descriptions of monsters, equipment, six character races, and the world of Melanda. Ability scores are determined by what skills the character studies as a youth. In the game's rune-carving magic system, a character learns various magic runes that modify and act on each other to create varying effects. Publication history Melanda: Land of Mystery was designed by John M. Corradin and Lee C. McCormick and published by Wilmark Dynasty in 1980 as 56 loose-leaf pages, an outer folder, and two dice. The second edition was published in 1981 as a 64-page book. Reception Lawrence Schick called this game "several years ahead of its time", the combat system "quite original" and the magic system "Perhaps the most innovative". Reviews Different Worlds (Issue 16 - Nov 1981) References Fantasy role-playing games Role-playing games introduced in 1980
The Bunsen–Kirchhoff Award is a prize for "outstanding achievements" in the field of analytical spectroscopy. It has been awarded since 1990 by the German Working Group for Applied Spectroscopy, and is endowed with by PerkinElmer, Germany. The prize is named in honor of chemist Robert Bunsen and physicist Gustav Kirchhoff. Prizewinners 1990 Günter Snatzke, Germany 1991 Hannes Aiginger, Austria; Peter Wobrauschek]], Austria; Joachim Knoth]], Germany; Heinrich Schwenke]], Germany 1992 Kurt Laqua, Germany; Arnulf Röseler]], Germany 1993 Boris L'vov, Russia 1994 D. Bruce Chase, United States; W. J. Orville-Thomas, Great Britain 1995 Paul W.J.M. Boumans, Netherlands 1998 Annemie Bogaerts, Belgium 2000 Dieter Fischer, Germany 2001 John A. McLean, United States 2002 Jürgen Popp, Germany 2003 Sergei Boulyga, Germany 2004 Ewa Bulska, Poland 2005 Nicolas Bings, Germany 2006 Volker Deckert, Germany 2007 Jörg Bettmer, Germany 2008 Sebastian Schlücke, Germany 2009 Joachim Koch, Switzerland 2010 Janina Kneipp, Germany 2011 Daniel Pröfrock, Germany 2012 Christoph Haisch, Germany 2013 Maria Montes-Bayón, Spain 2014 Oliver Reich, Germany 2015 Martín Resano, Spain 2016 Torsten Frosch, Germany 2017 Jacob T. Shelley, United States 2018 , Hungary 2020 Natalia P. Ivleva 2022 Carlos Abad Andrade See also List of chemistry awards References Chemistry awards Awards established in 1990 Analytical chemistry German awards Gustav Kirchhoff
Bigloo is a programming language, a dialect of the language Lisp, an implementation of the language Scheme. It is developed at the French IT research institute French Institute for Research in Computer Science and Automation (INRIA). It is oriented toward providing tools for effective and diverse code generation that can match the performance of hand-written C or C++. The Bigloo system contains a Scheme compiler that can generate C code and Java virtual machine (JVM) or .NET Framework (.NET) bytecode. As with other Lisp dialects, it contains an interpreter, also termed a read-eval-print loop (REPL). It is free and open-source software. The run-time system and libraries are released under a GNU Lesser General Public License (LGPL). The compiler and programming tools are released under a GNU General Public License (GPL). "Bigloo is a Scheme implementation devoted to one goal: enabling Scheme based programming style where C(++) is usually required." The Hop web application engine and Roadsend PHP are written in Bigloo. Libraries Biglook – a cross-platform graphical user interface (GUI) module that interfaces with GTK+ and Java Swing Bigloo-lib The Bigloo-lib project contains modules for: Regular Expressions MzScheme Compatibility iconv Character Set Conversion Extended Console Application support – This includes support for GNU Readline, and termios SQL – tested with MySQL, Oracle, PostgreSQL, and SQLite XML – an interface to the Expat XML parser GTK See also List of JVM languages References External links Scheme (programming language) compilers Scheme (programming language) interpreters Scheme (programming language) implementations